[Bug tree-optimization/20009] [4.0 regression] cris-elf testsuite failures: gcc.c-torture/unsorted/USIcmp.c, -O1 and above
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Feb 17 17:55:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-17 13:45 -------
Actually this is not a problem in DOM at all but in fold, say we have (which is the reduced testcase):
unsigned int glob1;
int imm0limm1 (int r0)
{
if (22 <= ((unsigned int)&glob1))
return 1;
else
return 0;
}
fold looks like it is removing the cast to "unsigned int" and does not convert 22 to pointer type.
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20009
More information about the Gcc-bugs
mailing list