ARM constant folding bug?

Jonathan S. Shapiro shap@eros-os.com
Fri Aug 3 16:58:00 GMT 2007


On Fri, 2007-08-03 at 12:46 -0400, Daniel Jacobowitz wrote:
> On Fri, Aug 03, 2007 at 05:24:28PM +0100, Dave Korn wrote:
> >   I'm a bit surprised too.  But it occurs to me that the ARM, unlike the i386
> > and m68k, is bi-endian.  Perhaps you can't actually know which mode it's
> > running in at compile time and /have/ to test it at runtime?
> 
> No.  You can't generate code in general that works on both!

Then it seems very curious that the constant folding should fail on this
platform. Any idea what may be going on here?


shap



More information about the Gcc mailing list