This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/46598] [4.4/4.5/4.6 Regression] Miscompiles computed goto
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 23 Nov 2010 15:02:00 +0000
- Subject: [Bug rtl-optimization/46598] [4.4/4.5/4.6 Regression] Miscompiles computed goto
- Auto-submitted: auto-generated
- References: <bug-46598-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46598
--- Comment #12 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-23 15:01:37 UTC ---
The original testcase should just use
__asm__ __volatile__("rdtsc":"=a"(havege_hardtick)::"dx");
everywhere. That fixes the original testcase for me.