[Bug optimization/13796] New: [tree-ssa] consecutive stores to globals not removed
dann at godzilla dot ics dot uci dot edu
gcc-bugzilla@gcc.gnu.org
Wed Jan 21 20:21:00 GMT 2004
int glob1, glob2;
int foo1 (void)
{
glob1 = 0;
glob2 = 1;
glob1 = 2;
glob2 = 3;
return glob1 + glob2;
}
There should be 1 store to glob1 and glob2
the .optimized dump:
foo1 ()
{
<bb 0>:
glob1 = 0;
glob2 = 1;
glob1 = 2;
glob2 = 3;
return 5;
}
--
Summary: [tree-ssa] consecutive stores to globals not removed
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=13796
More information about the Gcc-bugs
mailing list