[Bug tree-optimization/22630] New: vrp produces wrong code
belyshev at depni dot sinp dot msu dot ru
gcc-bugzilla@gcc.gnu.org
Sat Jul 23 16:35:00 GMT 2005
// C testcase, compile with -O2
// reduced from mozilla crashes in javascript library
void abort (void);
int j;
void bla (int *r)
{
int *p, *q;
p = q = r;
if (!p)
p = &j;
if (p != q)
j = 1;
}
int main (void)
{
bla (0);
if (!j)
abort ();
return 0;
}
--
Summary: vrp produces wrong code
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: critical
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: belyshev at depni dot sinp dot msu dot ru
CC: dnovillo at gcc dot gnu dot org,gcc-bugs at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22630
More information about the Gcc-bugs
mailing list