This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/46598] [4.4/4.5/4.6 Regression] Miscompiles computed goto


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]