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

             Bug #: 52519
           Summary: [4.8 Regression]
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: dang...@gcc.gnu.org
              Host: hppa2.0w-hp-hpux11.11
            Target: hppa2.0w-hp-hpux11.11
             Build: hppa2.0w-hp-hpux11.11


/test/gnu/gcc/objdir/./gcc/xgcc -shared-libgcc -B/test/gnu/gcc/objdir/./gcc
-nos
tdinc++ -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/src
-L/test/gn
u/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/src/.libs
-B/opt/gnu/gcc/gcc-4.8/hppa2.0w-hp-hpux11.11/bin/
-B/opt/gnu/gcc/gcc-4.8/hppa2.0w-hp-hpux11.11/lib/ -isystem
/opt/gnu/gcc/gcc-4.8/hppa2.0w-hp-hpux11.11/include -isystem
/opt/gnu/gcc/gcc-4.8/hppa2.0w-hp-hpux11.11/sys-include    -x c++-header
-nostdinc++ -g -O2
-I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/hppa2.0w-hp-hpux11.11
-I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include
-I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++ -O2 -g -std=gnu++0x
/test/gnu/gcc/gcc/libstdc++-v3/include/precompiled/stdc++.h \
        -o hppa2.0w-hp-hpux11.11/bits/stdc++.h.gch/O2ggnu++0x.gch
In file included from
/test/gnu/gcc/gcc/libstdc++-v3/include/precompiled/stdc++.h:95:0:
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/valarray: In
function '<built-in>':
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/valarray:1222:1:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[5]: *** [hppa2.0w-hp-hpux11.11/bits/stdc++.h.gch/O2g.gch] Error 1
make[5]: *** Waiting for unfinished jobs....
In file included from
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/unordered_set:46:0,
                 from
/test/gnu/gcc/gcc/libstdc++-v3/include/precompiled/stdc++.h:117:
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/bits/unordered_set.h:
In function '<built-in>':
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/bits/unordered_set.h:428:1:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[5]: *** [hppa2.0w-hp-hpux11.11/bits/stdc++.h.gch/O2ggnu++0x.gch] Error 1
make[5]: Leaving directory
`/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3'
make[2]: *** [all-stage1-target-libstdc++-v3] Error 2
make[2]: Leaving directory `/test/gnu/gcc/objdir'
make[1]: *** [stage1-bubble] Error 2

# gdb ../../../gcc/cc1plus
GNU gdb (GDB) 7.4.50.20120221-cvs
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "hppa2.0w-hp-hpux11.11".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /test/gnu/gcc/objdir/gcc/cc1plus...done.
<s --output-pch= hppa2.0w-hp-hpux11.11/bits/stdc++.h.gch/O2ggnu++0x.gch     
(gdb) r
Starting program: /test/gnu/gcc/objdir/gcc/cc1plus -quiet -nostdinc++
-nostdinc++ -v -I
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/hppa2.0w-hp-hpux11.11
-I /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include -I
/test/gnu/gcc/gcc/libstdc++-v3/libsupc++ -iprefix
/test/gnu/gcc/objdir/gcc/../lib/gcc/hppa2.0w-hp-hpux11.11/4.8.0/ -isystem
/test/gnu/gcc/objdir/./gcc/include -isystem
/test/gnu/gcc/objdir/./gcc/include-fixed -isystem
/opt/gnu/gcc/gcc-4.8/hppa2.0w-hp-hpux11.11/include -isystem
/opt/gnu/gcc/gcc-4.8/hppa2.0w-hp-hpux11.11/sys-include
/test/gnu/gcc/gcc/libstdc++-v3/include/precompiled/stdc++.h -quiet -dumpbase
stdc++.h -auxbase stdc++ -g -g -O2 -O2 -std=gnu++11 -version -o
/var/tmp//ccEyqVA8.s --output-pch=
hppa2.0w-hp-hpux11.11/bits/stdc++.h.gch/O2ggnu++0x.gch
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.
GNU C++ (GCC) version 4.8.0 20120306 (experimental) [trunk revision 185013]
(hppa2.0w-hp-hpux11.11)
    compiled by GNU C version 4.3.6 20110523 (prerelease) [gcc-4_3-branch
revision 174094], GMP version 5.0.2, MPFR version 3.1.0-p1, MPC version 0.9
warning: MPFR header version 3.1.0-p1 differs from library version 3.0.1-p4.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
ignoring nonexistent directory
"/opt/gnu/gcc/gcc-4.8/hppa2.0w-hp-hpux11.11/include"
ignoring nonexistent directory
"/opt/gnu/gcc/gcc-4.8/hppa2.0w-hp-hpux11.11/sys-include"
ignoring nonexistent directory
"/test/gnu/gcc/objdir/gcc/../lib/gcc/hppa2.0w-hp-hpux11.11/4.8.0/include"
ignoring nonexistent directory
"/test/gnu/gcc/objdir/gcc/../lib/gcc/hppa2.0w-hp-hpux11.11/4.8.0/include-fixed"
ignoring nonexistent directory
"/test/gnu/gcc/objdir/gcc/../lib/gcc/hppa2.0w-hp-hpux11.11/4.8.0/../../../../hppa2.0w-hp-hpux11.11/include"
ignoring nonexistent directory
"/opt/gnu/gcc/gcc-4.8/lib/gcc/hppa2.0w-hp-hpux11.11/4.8.0/include"
ignoring nonexistent directory "/opt/gnu/gcc/gcc-4.8/include"
ignoring nonexistent directory
"/opt/gnu/gcc/gcc-4.8/lib/gcc/hppa2.0w-hp-hpux11.11/4.8.0/include-fixed"
ignoring nonexistent directory
"/opt/gnu/gcc/gcc-4.8/hppa2.0w-hp-hpux11.11/include"
#include "..." search starts here:
#include <...> search starts here:

/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/hppa2.0w-hp-hpux11.11
 /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include
 /test/gnu/gcc/gcc/libstdc++-v3/libsupc++
 /test/gnu/gcc/objdir/./gcc/include
 /test/gnu/gcc/objdir/./gcc/include-fixed
 /opt/gnu/include
 /usr/include
End of search list.
GNU C++ (GCC) version 4.8.0 20120306 (experimental) [trunk revision 185013]
(hppa2.0w-hp-hpux11.11)
    compiled by GNU C version 4.3.6 20110523 (prerelease) [gcc-4_3-branch
revision 174094], GMP version 5.0.2, MPFR version 3.1.0-p1, MPC version 0.9
warning: MPFR header version 3.1.0-p1 differs from library version 3.0.1-p4.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 7b3ff066710205fd00cb47e829c21ef2

Program received signal SIGSEGV, Segmentation fault.
0x024462bc in df_uses_record (collection_rec=0x7eff1220, loc=0x77911f04, 
    ref_type=DF_REF_REG_USE, bb=0x77943b88, insn_info=0x40224658, flags=0)
    at ../../gcc/gcc/df-scan.c:3263
3263        if (fmt[i] == 'e')
(gdb) bt
#0  0x024462bc in df_uses_record (collection_rec=0x7eff1220, loc=0x77911f04, 
    ref_type=DF_REF_REG_USE, bb=0x77943b88, insn_info=0x40224658, flags=0)
    at ../../gcc/gcc/df-scan.c:3263
#1  0x02446394 in df_uses_record (collection_rec=0x7eff1220, loc=0x77901b2c, 
    ref_type=DF_REF_REG_USE, bb=0x77943b88, insn_info=0x40224658, flags=0)
    at ../../gcc/gcc/df-scan.c:3278
#2  0x02446dd8 in df_insn_refs_collect (collection_rec=0x7eff1220, 
    bb=0x77943b88, insn_info=0x40224658) at ../../gcc/gcc/df-scan.c:3453
#3  0x0243ff9c in df_insn_rescan (insn=0x77901b18)
    at ../../gcc/gcc/df-scan.c:1281
#4  0x01074068 in emit_insn_after_1 (first=0x778c35a0, after=0x779019b0, 
    bb=0x77943b88) at ../../gcc/gcc/emit-rtl.c:4286
#5  0x010741c4 in emit_pattern_after_noloc (x=0x778c35a0, after=0x779019b0, 
    bb=0x77943b88, make_raw=@0x4002ae9a: 0x1072840 <make_insn_raw>)
    at ../../gcc/gcc/emit-rtl.c:4329
#6  0x0107425c in emit_insn_after_noloc (x=0x778c35a0, after=0x779019b0, 
    bb=0x77943b88) at ../../gcc/gcc/emit-rtl.c:4353
#7  0x0226422c in commit_one_edge_insertion (e=0x778fcc60)
    at ../../gcc/gcc/cfgrtl.c:1611
#8  0x022643b8 in commit_edge_insertions () at ../../gcc/gcc/cfgrtl.c:1652
#9  0x013318b8 in thread_prologue_and_epilogue_insns ()
    at ../../gcc/gcc/function.c:6465
#10 0x013327f8 in rest_of_handle_thread_prologue_and_epilogue ()
---Type <return> to continue, or q <return> to quit---
    at ../../gcc/gcc/function.c:6914
#11 0x01792728 in execute_one_pass (pass=0x4000cb78)
    at ../../gcc/gcc/passes.c:2084
#12 0x01792a18 in execute_pass_list (pass=0x4000cb78)
    at ../../gcc/gcc/passes.c:2139
#13 0x01792a3c in execute_pass_list (pass=0x4000db74)
    at ../../gcc/gcc/passes.c:2140
#14 0x01792a3c in execute_pass_list (pass=0x4000db40)
    at ../../gcc/gcc/passes.c:2140
#15 0x0338e4f0 in tree_rest_of_compilation (fndecl=0x7789bd80)
    at ../../gcc/gcc/tree-optimize.c:422
#16 0x00e46a94 in cgraph_expand_function (node=0x77d86820)
    at ../../gcc/gcc/cgraphunit.c:1837
#17 0x00e46d48 in cgraph_expand_all_functions ()
    at ../../gcc/gcc/cgraphunit.c:1904
#18 0x00e47e40 in cgraph_optimize () at ../../gcc/gcc/cgraphunit.c:2218
#19 0x00e443d4 in cgraph_finalize_compilation_unit ()
    at ../../gcc/gcc/cgraphunit.c:1344
#20 0x00384890 in cp_write_global_declarations ()
    at ../../gcc/gcc/cp/decl2.c:4074
#21 0x01911fcc in compile_file () at ../../gcc/gcc/toplev.c:573
#22 0x01915880 in do_compile () at ../../gcc/gcc/toplev.c:1937
#23 0x01915b6c in toplev_main (argc=37, argv=0x7eff07bc)
---Type <return> to continue, or q <return> to quit---
    at ../../gcc/gcc/toplev.c:2013
#24 0x00b15f8c in main (argc=37, argv=0x7eff07bc) at ../../gcc/gcc/main.c:36
(gdb) c
Continuing.
In file included from
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/unordered_set:46:0,
                 from
/test/gnu/gcc/gcc/libstdc++-v3/include/precompiled/stdc++.h:117:
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/bits/unordered_set.h:
In function '<built-in>':
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/bits/unordered_set.h:428:1:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[Inferior 1 (process 3455) exited with code 04]

# ./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.8
--with-gmp=/opt/gnu/gcc/gmp --enable-threads=posix --enable-debug=no
--disable-nls --disable-lto --without-cloog --without-ppl
--enable-languages=c,c++,objc,fortran,java,ada,obj-c++
Thread model: posix
gcc version 4.8.0 20120306 (experimental) [trunk revision 185013] (GCC)

Reply via email to