[Bug middle-end/35163] [4.1/4.2 Regression] folding comparison loses cast

pmarques at grupopie dot com gcc-bugzilla@gcc.gnu.org
Sun Feb 17 03:59:00 GMT 2008



------- Comment #6 from pmarques at grupopie dot com  2008-02-17 03:58 -------
Created an attachment (id=15171)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15171&action=view)
patch to fix testsuite breakage on 16 bit integer targets

Unfortunately, the testcase assumes 32 bit integers and fails on the avr
target.

The attached patch makes the expected type sizes explicit, so that it doesn't
depend on the natural integer size of the target.

The patch was tested for te avr target and it works as expected.


-- 


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



More information about the Gcc-bugs mailing list