[Bug tree-optimization/17217] not removing removal of nested structs
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Aug 27 19:42:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-27 19:42 -------
Here is the unnested version:
int h(int *a);
struct G
{
int t;
int t1;
};
int g1(struct G*);
int f1(int i, int j)
{
struct G nestedf1={i,j};
return g1(&nestedf1)+nestedf1.t1;
}
static int g1(struct G *nestedf1)
{
return h(&nestedf1->t)+ nestedf1->t1;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17217
More information about the Gcc-bugs
mailing list