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

            Bug ID: 79952
           Summary: [7 Regression] ICE in test_loading_cfg in
                    read-rtl-function.c:2016 targeting for
                    hppa2.0w-hp-hpux11.11
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: msebor at gcc dot gnu.org
  Target Milestone: ---

A build of the top of GCC 7.0 trunk for the hppa2.0w-hp-hpux11.11 target fails
on x86_64-*-linux in the following self test.

The following options were used to configure GCC:

--enable-languages=c,c++ --enable-checking=all --enable-valgrind-annotations
--prefix=/build/sysroot/hppa2.0w-hp-hpux11.11 --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --target=hppa2.0w-hp-hpux11.11 --without-headers

/build/hppa2.0w-hp-hpux11.11/gcc-trunk/./gcc/xgcc
-B/build/hppa2.0w-hp-hpux11.11/gcc-trunk/./gcc/ -nostdinc -x c /dev/null -S -o
/dev/null -fself-test=/src/gcc/trunk/gcc/testsuite/selftests
In function ‘cfg_test’:
cc1: internal compiler error: Segmentation fault
0x101199e crash_signal
        /src/gcc/trunk/gcc/toplev.c:337
0x8b4013 lookup_page_table_entry
        /src/gcc/trunk/gcc/ggc-page.c:635
0x8b5564 ggc_set_mark(void const*)
        /src/gcc/trunk/gcc/ggc-page.c:1532
0x7881b5 gt_ggc_mx_lang_tree_node(void*)
        ./gt-c-c-decl.h:49
0x78a008 gt_ggc_mx_lang_tree_node(void*)
        ./gt-c-c-decl.h:401
0x789e70 gt_ggc_mx_lang_tree_node(void*)
        ./gt-c-c-decl.h:382
0x7882b7 gt_ggc_mx_lang_tree_node(void*)
        ./gt-c-c-decl.h:68
0xb6a1ff ggc_mark_root_tab
        /src/gcc/trunk/gcc/ggc-common.c:77
0xb6a290 ggc_mark_roots()
        /src/gcc/trunk/gcc/ggc-common.c:94
0x8b6aa7 ggc_collect()
        /src/gcc/trunk/gcc/ggc-page.c:2202
0x97d419 cgraph_node::finalize_function(tree_node*, bool)
        /src/gcc/trunk/gcc/cgraphunit.c:480
0xe73fce function_reader::create_function()
        /src/gcc/trunk/gcc/read-rtl-function.c:520
0xe73bf5 function_reader::parse_function()
        /src/gcc/trunk/gcc/read-rtl-function.c:425
0xe73ba3 function_reader::handle_unknown_directive(file_location, char const*)
        /src/gcc/trunk/gcc/read-rtl-function.c:411
0x18bf972 md_reader::handle_file()
        /src/gcc/trunk/gcc/read-md.c:1158
0x18bfa2c md_reader::handle_toplevel_file()
        /src/gcc/trunk/gcc/read-md.c:1180
0x18bfb27 md_reader::read_file(char const*)
        /src/gcc/trunk/gcc/read-md.c:1325
0xe76c3c read_rtl_function_body(char const*)
        /src/gcc/trunk/gcc/read-rtl-function.c:1597
0xfa30e2 selftest::rtl_dump_test::rtl_dump_test(selftest::location const&,
char*)
        /src/gcc/trunk/gcc/selftest-rtl.c:69
0xe7bbfa test_loading_cfg
        /src/gcc/trunk/gcc/read-rtl-function.c:2016
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
Makefile:1939: recipe for target 's-selftest' failed
make[1]: *** [s-selftest] Error 1
make[1]: *** Waiting for unfinished jobs....
rm gcov-tool.pod gpl.pod gfdl.pod fsf-funding.pod gcov.pod cpp.pod gcc.pod
make[1]: Leaving directory '/build/hppa2.0w-hp-hpux11.11/gcc-trunk/gcc'
Makefile:4236: recipe for target 'all-gcc' failed
make: *** [all-gcc] Error 2
make: Leaving directory '/build/hppa2.0w-hp-hpux11.11/gcc-trunk'

Reply via email to