I tried to do a profiledbootstrap for sparc64-sun-solaris2.9 but ran into an internal compiler error for reorg.c. I then profilebootstraped gcc 4.0.1 for sparc-sun-solaris2.9 without error. But again I get an internal compiler error for the file r.c below that I build by stripping down reorg.c:
For the command line gcc -v -c -O -m64 -fprofile-generate r.c -o r.o the corresponding output is: --- snip --- Using built-in specs. Target: sparc-sun-solaris2.9 Configured with: /home/menzel/src/4.0-32/gcc-4.0.1/configure --prefix=/home/menzel/sw5.9-gcc4.0 Thread model: posix gcc version 4.0.1 /home/menzel/sw5.9-gcc4.0/libexec/gcc/sparc-sun-solaris2.9/4.0.1/cc1 -quiet -v -D__arch64__ -D__sparcv9 r.c -mptr64 -mstack-bias -mno-v8plus -mcpu=v9 -quiet -dumpbase r.c -m64 -auxbase-strip r.o -O -version -fprofile-generate -o /tmp/ccPJ8PTb.s ignoring nonexistent directory "/usr/local/include" ignoring nonexistent directory "/home/menzel/sw5.9-gcc4.0/lib/gcc/sparc-sun-solaris2.9/4.0.1/../../../../sparc-sun-solaris2.9/include" #include "..." search starts here: #include <...> search starts here: /home/menzel/sw5.9-gcc4.0/include /home/menzel/sw5.9-gcc4.0/lib/gcc/sparc-sun-solaris2.9/4.0.1/include /usr/include End of search list. GNU C version 4.0.1 (sparc-sun-solaris2.9) compiled by GNU C version 4.0.1. GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 r.c: In function 'check_annul_list_true_false': r.c:27: internal compiler error: in int_mode_for_mode, at stor-layout.c:251 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. --- snip --- The file r.c: --- snip --- union rtunion_def { struct rtx_def *rt_rtx; }; typedef union rtunion_def rtunion; struct rtx_def { unsigned int in_struct : 1; union u { rtunion fld[1]; } u; }; typedef struct rtx_def *rtx; static void check_annul_list_true_false (int annul_true_p, rtx delay_list) { rtx temp; while (1) { temp = delay_list; rtx trial = (((temp)->u.fld[0]).rt_rtx); if ((annul_true_p && (((trial))->in_struct))) return; } } --- snip --- Bye, Ralf -- Summary: internal compiler error: in int_mode_for_mode, at stor- layout.c:251 Product: gcc Version: 4.0.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: gcov/profile AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: menzel at ls6 dot cs dot uni-dortmund dot de CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: sparc-sun-solaris2.9 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23199