/test/gnu/gcc/objdir/./gcc/xgcc -B/test/gnu/gcc/objdir/./gcc/ -B/opt/gnu/gcc/gc
c-4.6.0/hppa2.0w-hp-hpux11.11/bin/
-B/opt/gnu/gcc/gcc-4.6.0/hppa2.0w-hp-hpux11.1
1/lib/ -isystem /opt/gnu/gcc/gcc-4.6.0/hppa2.0w-hp-hpux11.11/include -isystem
/o
pt/gnu/gcc/gcc-4.6.0/hppa2.0w-hp-hpux11.11/sys-include -DHAVE_CONFIG_H -I.
-I../
../../../gcc/libjava/libltdl -g -O2 -c ../../../../gcc/libjava/libltdl/ltdl.c 
-
fPIC -DPIC -o .libs/ltdl.o
/test/gnu/gcc/objdir/./gcc/xgcc -B/test/gnu/gcc/objdir/./gcc/
-B/opt/gnu/gcc/gcc
-4.6.0/hppa2.0w-hp-hpux11.11/bin/
-B/opt/gnu/gcc/gcc-4.6.0/hppa2.0w-hp-hpux11.11
/lib/ -isystem /opt/gnu/gcc/gcc-4.6.0/hppa2.0w-hp-hpux11.11/include -isystem
/op
t/gnu/gcc/gcc-4.6.0/hppa2.0w-hp-hpux11.11/sys-include    -c -g -O2   -W -Wall
-g
natpg   s-fileio.adb -o s-fileio.o
s-fileio.adb: In function 'System.File_Io.Close':
s-fileio.adb:308:10: warning: 'Errno' may be used uninitialized in this
function
 [-Wuninitialized]
../../../../gcc/libjava/libltdl/ltdl.c: In function 'sys_shl_sym':
../../../../gcc/libjava/libltdl/ltdl.c:1272:1: internal compiler error:
Segmenta
tion fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [ltdl.lo] Error 1
make[4]: Leaving directory
`/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libjava/l
ibltdl'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libjava/l
ibltdl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: *** Waiting for unfinished jobs....

-bash-3.2$ ./xgcc -B./ -v
Reading specs from ./specs
COLLECT_GCC=./xgcc
COLLECT_LTO_WRAPPER=./lto-wrapper
Target: hppa2.0w-hp-hpux11.11
Configured with: ../gcc/configure --with-gnu-as --with-as=/opt/gnu/bin/as
--enable-shared --with-local-prefix=/opt/gnu --prefix=/opt/gnu/gcc/gcc-4.6.0
--with-gmp=/opt/gnu/gcc/gcc-4.6.0 --enable-threads=posix --enable-debug=no
--disable-nls --without-cloog --without-ppl
--enable-languages=c,c++,objc,fortran,java,ada,obj-c++
Thread model: posix
gcc version 4.6.0 20100806 (experimental) [trunk revision 162948] (GCC) 

Program received signal SIGSEGV, Segmentation fault.
0x0062ab88 in dominated_by_p (dir=CDI_DOMINATORS, bb1=0x7ae08e10, bb2=0x0)
    at ../../gcc/gcc/dominance.c:973
973       struct et_node *n1 = bb1->dom[dir_index], *n2 = bb2->dom[dir_index];

(gdb) bt
#0  0x0062ab88 in dominated_by_p (dir=CDI_DOMINATORS, bb1=0x7ae08e10, bb2=0x0)
    at ../../gcc/gcc/dominance.c:973
#1  0x02781b14 in dse_possible_dead_store_p (stmt=0x7ae0ac90, 
    use_stmt=0x7eff0e98) at ../../gcc/gcc/tree-ssa-dse.c:202
#2  0x02781de4 in dse_optimize_stmt (dse_gd=0x7eff0d28, bd=0x400c2620,
gsi=Cannot access memory at address 0x10
)
    at ../../gcc/gcc/tree-ssa-dse.c:296
#3  0x0278219c in dse_enter_block (walk_data=0x7eff0d08, bb=0x7ae08e10)
    at ../../gcc/gcc/tree-ssa-dse.c:369
#4  0x031b2c8c in walk_dominator_tree (walk_data=0x7eff0d08, bb=0x7ae08e10)
    at ../../gcc/gcc/domwalk.c:188
#5  0x0278249c in tree_ssa_dse () at ../../gcc/gcc/tree-ssa-dse.c:429
#6  0x00c8a508 in execute_one_pass (pass=0x400c8460)
    at ../../gcc/gcc/passes.c:1564
#7  0x00c8a800 in execute_pass_list (pass=0x400c8460)
    at ../../gcc/gcc/passes.c:1619
#8  0x00c8a824 in execute_pass_list (pass=0x4001cfe8)
    at ../../gcc/gcc/passes.c:1620
#9  0x02500b84 in tree_rest_of_compilation (fndecl=0x7ae9b500)
    at ../../gcc/gcc/tree-optimize.c:452
#10 0x013f2638 in cgraph_expand_function (node=0x7ae8ded8)
    at ../../gcc/gcc/cgraphunit.c:1643
#11 0x013f29ac in cgraph_expand_all_functions ()
    at ../../gcc/gcc/cgraphunit.c:1722
#12 0x013f33e4 in cgraph_optimize () at ../../gcc/gcc/cgraphunit.c:1978
#13 0x013f066c in cgraph_finalize_compilation_unit ()
    at ../../gcc/gcc/cgraphunit.c:1185
#14 0x000bd144 in c_write_global_declarations ()
    at ../../gcc/gcc/c-decl.c:9698
#15 0x00e377e4 in compile_file () at ../../gcc/gcc/toplev.c:983
#16 0x00e3b3d0 in do_compile () at ../../gcc/gcc/toplev.c:2321
#17 0x00e3b55c in toplev_main (argc=27, argv=0x7eff06a4)
    at ../../gcc/gcc/toplev.c:2362
#18 0x00363164 in main (argc=27, argv=0x7eff06a4) at ../../gcc/gcc/main.c:36


-- 
           Summary: [4.6 Regression] libjava/libltdl/ltdl.c:1272:1: internal
                    compiler error: Segmenta
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        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


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45220

Reply via email to