[Bug optimization/14643] New: [tree-ssa] aliasing bug
dann at godzilla dot ics dot uci dot edu
gcc-bugzilla@gcc.gnu.org
Fri Mar 19 01:22:00 GMT 2004
Given:
struct bar { int count; int *arr;};
void foo (struct bar *b)
{
b->count = 0;
*(b->arr) = 2;
if (b->count != 0) link_error ();
}
"if" should not be optimized, but it currently is.
--
Summary: [tree-ssa] aliasing bug
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dann at godzilla dot ics dot uci dot edu
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14643
More information about the Gcc-bugs
mailing list