[Bug tree-optimization/38405] [4.4 Regression] (silent failure) handling bitfield in ternary
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Dec 5 11:25:00 GMT 2008
------- Comment #5 from rguenth at gcc dot gnu dot org 2008-12-05 11:23 -------
The error is likely
Folding statement: D.1241_5 = D.1242_4 != 0;
Folded into: D.1241_5 = (int) D.1242_4;
which is wrong for
<unnamed-signed:1> D.1242;
because it sign-extends.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |4.3.2
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38405
More information about the Gcc-bugs
mailing list