------- Comment #47 from dominiq at lps dot ens dot fr 2008-01-21 20:55 ------- > If you run the executable generated by: > -O3 -fipa-type-escape -fwhole-program -combine -fprofile-generate > w_prof_global_var.c -m64 > > is it fail or not?
It does not fail: [ibook-dhum] bug/depend% /opt/gcc/gcc4.3w/bin/gcc -O3 -fipa-type-escape -fwhole-program -combine -fprofile-generate -m64 /opt/gcc/_gcc_clean/gcc/testsuite/gcc.dg/struct/w_prof_global_var.c [ibook-dhum] bug/depend% a.out [ibook-dhum] bug/depend% /opt/gcc/gcc4.3w/bin/gcc -O3 -fipa-type-escape -fwhole-program -combine -fprofile-use -m64 /opt/gcc/_gcc_clean/gcc/testsuite/gcc.dg/struct/w_prof_global_var.c [ibook-dhum] bug/depend% a.out So it seems that the failures come from the combination "-fipa-struct-reorg -fipa-type-escape -m64". If one option is missing in the triplet the test succeeds. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34483