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/26069] [4.0/4.1/4.2 Regression] Runtime endian-ness check is no longer optimized out.



------- Comment #6 from gianni at mariani dot ws  2006-02-06 16:52 -------
Just another data point.

I tried both the original tell_endian() and the tell_endian_good() functions on
the MS Visual Studio 2003 compiler and both generated:

00000000 <?tell_endian@@YADXZ>:
   0:   b0 01                   mov    $0x1,%al
   2:   c3                      ret


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26069


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