https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66729

            Bug ID: 66729
           Summary: Segfault starting with r224967
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pthaugen at gcc dot gnu.org
                CC: bergner at gcc dot gnu.org, dje at gcc dot gnu.org,
                    rsandifo at gcc dot gnu.org
  Target Milestone: ---
              Host: powerpc64-unknown-linux-gnu
            Target: powerpc64-unknown-linux-gnu
             Build: powerpc64-unknown-linux-gnu

Ran in to following error starting with subject revision while trying to
bootstrap.

Config:
/home/pthaugen/src/gcc/gcc_hunt/gcc/configure
--prefix=/home/pthaugen/install/gcc/gcc_hunt --enable-decimal-float
--enable-lto --with-as=/home/pthaugen/install/binutils/binutils-2.25/bin/as
--with-ld=/home/pthaugen/install/binutils/binutils-2.25/bin/ld
--with-gmp=/home/pthaugen/install/gcc-host-libs --without-ppl --without-cloog
--enable-languages=c,c++,fortran


/home/pthaugen/work/build/gcc/gcc_hunt/./gcc/xgcc
-B/home/pthaugen/work/build/gcc/gcc_hunt/./gcc/
-B/home/pthaugen/install/gcc/gcc_hunt/powerpc64-unknown-linux-gnu/bin/
-B/home/pthaugen/install/gcc/gcc_hunt/powerpc64-unknown-linux-gnu/lib/ -isystem
/home/pthaugen/install/gcc/gcc_hunt/powerpc64-unknown-linux-gnu/include
-isystem
/home/pthaugen/install/gcc/gcc_hunt/powerpc64-unknown-linux-gnu/sys-include   
-g -O2 -m32 -O2  -g -O2 -DIN_GCC    -W -Wall -Wwrite-strings -Wcast-qual
-Wno-format -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition 
-isystem ./include   -fPIC -mlong-double-128 -mno-minimal-toc -g -DIN_LIBGCC2
-fbuilding-libgcc -fno-stack-protector   -fPIC -mlong-double-128
-mno-minimal-toc -I. -I. -I../../.././gcc
-I/home/pthaugen/src/gcc/gcc_hunt/gcc/libgcc
-I/home/pthaugen/src/gcc/gcc_hunt/gcc/libgcc/.
-I/home/pthaugen/src/gcc/gcc_hunt/gcc/libgcc/../gcc
-I/home/pthaugen/src/gcc/gcc_hunt/gcc/libgcc/../include
-I/home/pthaugen/src/gcc/gcc_hunt/gcc/libgcc/../libdecnumber/dpd
-I/home/pthaugen/src/gcc/gcc_hunt/gcc/libgcc/../libdecnumber -DHAVE_CC_TLS  -o
decContext.o -MT decContext.o -MD -MP -MF decContext.dep -c
/home/pthaugen/src/gcc/gcc_hunt/gcc/libgcc/../libdecnumber/decContext.c
In file included from
/home/pthaugen/src/gcc/gcc_hunt/gcc/libgcc/../libdecnumber/decContext.h:246:0,
                 from
/home/pthaugen/src/gcc/gcc_hunt/gcc/libgcc/../libdecnumber/decContext.c:38:
/home/pthaugen/src/gcc/gcc_hunt/gcc/libgcc/../libdecnumber/decContext.c: In
function ‘__decContextStatusToString’:
/home/pthaugen/src/gcc/gcc_hunt/gcc/libgcc/../libdecnumber/decContextSymbols.h:16:34:
internal compiler error: Segmentation fault
 #define decContextStatusToString __decContextStatusToString
                                  ^
/home/pthaugen/src/gcc/gcc_hunt/gcc/libgcc/../libdecnumber/decContext.c:352:13:
note: in expansion of macro ‘decContextStatusToString’
 const char *decContextStatusToString(const decContext *context) {
             ^
0x10d2ed5f crash_signal
        /home/pthaugen/src/gcc/gcc_hunt/gcc/gcc/toplev.c:366
0x117fee78 trim_filename(char const*)
        /home/pthaugen/src/gcc/gcc_hunt/gcc/gcc/diagnostic.c:944
0x117fff87 fancy_abort(char const*, int, char const*)
        /home/pthaugen/src/gcc/gcc_hunt/gcc/gcc/diagnostic.c:1340
0x111d635f inchash::add_expr(tree_node const*, inchash::hash&)
        /home/pthaugen/src/gcc/gcc_hunt/gcc/gcc/tree.c:7708
0x10d7b167 iterative_hash_expr
        /home/pthaugen/src/gcc/gcc_hunt/gcc/gcc/tree.h:4519
0x10d7e7df tree_operand_hash::hash(tree_node const*)
        /home/pthaugen/src/gcc/gcc_hunt/gcc/gcc/tree-hash-traits.h:33
0x10d802f7 simple_hashmap_traits<tree_operand_hash>::hash(tree_node* const&)
        /home/pthaugen/src/gcc/gcc_hunt/gcc/gcc/hash-map-traits.h:126
0x110c9f9f hash_map<tree_node*, vec<tree_node*, va_heap, vl_ptr>,
val_ssa_equiv_hash_traits>::get(tree_node* const&)
        /home/pthaugen/src/gcc/gcc_hunt/gcc/gcc/hash-map.h:141
0x110c9367 uncprop_into_successor_phis
        /home/pthaugen/src/gcc/gcc_hunt/gcc/gcc/tree-ssa-uncprop.c:408
0x110c9737 uncprop_dom_walker::before_dom_children(basic_block_def*)
        /home/pthaugen/src/gcc/gcc_hunt/gcc/gcc/tree-ssa-uncprop.c:495
0x11628d93 dom_walker::walk(basic_block_def*)
        /home/pthaugen/src/gcc/gcc_hunt/gcc/gcc/domwalk.c:183
0x110c9933 execute
        /home/pthaugen/src/gcc/gcc_hunt/gcc/gcc/tree-ssa-uncprop.c:544
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Reply via email to