------- Comment #2 from danglin at gcc dot gnu dot org 2010-04-13 01:30 ------- Compiler must be miscompiled as stage1-gcc/cc1 doesn't have fault.
Starting program: /mnt/gnu/gcc/objdir/gcc/cc1 -iprefix /mnt/gnu/gcc/objdir/gcc/../lib/gcc/hppa64-hp-hpux11.11/4.5.0/ -isystem /mnt/gnu/gcc/objdir/gcc/include -isystem /mnt/gnu/gcc/objdir/gcc/include-fixed /mnt/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/20031015-1.c -quiet -dumpbase 20031015-1.c -auxbase-strip 20031015-1.s -O1 -version -fdump-tree-alias-vops -o 20031015-1.s warning: Private mapping of shared library text was not specified by the executable; setting a breakpoint in a shared library which is not privately mapped will not work. See the HP-UX 11i v3 chatr manpage for methods to privately map shared library text. warning: Loadable segment ".tbss" outside of ELF segments warning: Loadable segment ".tbss" outside of ELF segments GNU C (GCC) version 4.5.0 20100411 (prerelease) [gcc-4_5-branch revision 158204] (hppa64-hp-hpux11.11) compiled by GNU C version 4.5.0 20100411 (prerelease) [gcc-4_5-branch revision 158204], GMP version 4.3.1, MPFR version 2.4.1, MPC version 0.8 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU C (GCC) version 4.5.0 20100411 (prerelease) [gcc-4_5-branch revision 158204] (hppa64-hp-hpux11.11) compiled by GNU C version 4.5.0 20100411 (prerelease) [gcc-4_5-branch revision 158204], GMP version 4.3.1, MPFR version 2.4.1, MPC version 0.8 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 524dd7bb1c7d8a97e70eedfe5581819e Program received signal SIGSEGV, Segmentation fault. 0x400000000034a3e0 in dump_gimple_stmt (buffer=0x80000001000aedf8, gs=0x800003fffdf9a360, spc=2, flags=576) at ../../gcc/gcc/gimple-pretty-print.c:77 77 INDENT (spc); (gdb) disass 0x400000000034a3d0 0x400000000034a3f0 Dump of assembler code from 0x400000000034a3d0 to 0x400000000034a3f0: 0x400000000034a3d0 <dump_gimple_stmt+7120>: ldw,s ret0(r19),ret0 0x400000000034a3d4 <dump_gimple_stmt+7124>: ldd,s ret0(r31),ret0 0x400000000034a3d8 <dump_gimple_stmt+7128>: cmpb,*= r0,ret0,0x400000000034b8a8 <dump_gimple_stmt+12456> 0x400000000034a3dc <dump_gimple_stmt+7132>: add,l r6,ret0,ret0 0x400000000034a3e0 <dump_gimple_stmt+7136>: ldd ret0(r11),r25 0x400000000034a3e4 <dump_gimple_stmt+7140>: copy dp,r4 0x400000000034a3e8 <dump_gimple_stmt+7144>: copy r5,r26 0x400000000034a3ec <dump_gimple_stmt+7148>: copy r8,r24 $2 = Value can't be converted to integer. (gdb) p/x $r11 (gdb) p/x $ret0 $4 = 0x800003fffdf9a3b0 Base and index registers are interchanged. Revision 157955 was ok. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43740