Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /te st/gnu/gcc/gcc/gcc/testsuite/gcc.dg/struct/w_prof_global_array.c -O3 -fwhole- program -combine -fipa-type-escape -fprofile-generate -lm -o /test/gnu/gcc/ob jdir/gcc/testsuite/gcc/w_prof_global_array.x01 (timeout = 300) /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main (first referenced in /var/tmp//ccC7FsIt.o) (code) collect2: ld returned 1 exit status compiler exited with status 1 output is: /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main (first referenced in /var/tmp//ccC7FsIt.o) (code) collect2: ld returned 1 exit status
FAIL: gcc.dg/struct/w_prof_global_array.c compilation, -O3 -fwhole-program -com bine -fipa-type-escape -fprofile-generate Similar fails: FAIL: gcc.dg/struct/w_prof_local_array.c compilation, -O3 -fwhole-program -comb ine -fipa-type-escape -fprofile-generate FAIL: gcc.dg/struct/w_prof_local_var.c compilation, -O3 -fwhole-program -combin e -fipa-type-escape -fprofile-generate FAIL: gcc.dg/struct/w_prof_single_str_global.c compilation, -O3 -fwhole-program -combine -fipa-type-escape -fprofile-generate FAIL: gcc.dg/struct/w_prof_two_strs.c compilation, -O3 -fwhole-program -combine -fipa-type-escape -fprofile-generate FAIL: gcc.dg/struct/w_ratio_cold_str.c compilation, -O3 -fwhole-program -combin e -fipa-type-escape -fprofile-generate _GLOBAL__I_65535_0_main is not global in the assembler output. -- Summary: /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: danglin at gcc dot gnu dot org GCC build triplet: hppa2.0w-hp-hpux11.11 GCC host triplet: hppa2.0w-hp-hpux11.11, hppa64-hp-hpux11.11 GCC target triplet: hppa2.0w-hp-hpux11.11, hppa64-hp-hpux11.11 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41674