[Bug tree-optimization/19723] New: [4.0 Regression] A side effect is missed in 0 % a++.
kazu at cs dot umass dot edu
gcc-bugzilla@gcc.gnu.org
Mon Jan 31 13:42:00 GMT 2005
Consider:
int
foo (int a)
{
int x = 0 % a++;
return a;
}
Here is what I get:
foo (a)
{
<bb 0>:
return a;
}
--
Summary: [4.0 Regression] A side effect is missed in 0 % a++.
Product: gcc
Version: unknown
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kazu at cs dot umass dot edu
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19723
More information about the Gcc-bugs
mailing list