[Bug tree-optimization/38207] Union in structs are not well optimized
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Nov 21 10:54:00 GMT 2008
------- Comment #4 from rguenth at gcc dot gnu dot org 2008-11-21 10:52 -------
Which means that we correctly optimize
int f(struct a *c)
{
int d;
c->c = 1;
d = c->a;
c->c = 1;
return c->a + d;
}
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2008-11-21 10:51:51 |2008-11-21 10:52:48
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38207
More information about the Gcc-bugs
mailing list