https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93996
Bug ID: 93996
Summary: [10 Regression] ICE in lookup_page_table_entry
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
Target Milestone: ---
Host: x86_64-linux-gnu
Target: aarch64-linux-gnu
I see the following ICE:
$ aarch64-linux-gnu-gcc
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/pr65345-2.c
--param=ggc-min-heapsize=0 -O2 -fsched2-use-superblocks
--param=ggc-min-expand=0 -c
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/pr65345-2.c: In function
‘fn5’:
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/pr65345-2.c:34:1: internal
compiler error: Segmentation fault
34 | }
| ^
0xb6d34f crash_signal
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/toplev.c:328
0x7ffff78fff1f ???
/usr/src/debug/glibc-2.31-2.1.x86_64/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0x740003 lookup_page_table_entry
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/ggc-page.c:630
0x740003 ggc_set_mark(void const*)
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/ggc-page.c:1544
0x67f99f gt_ggc_mx_lang_tree_node(void*)
./gt-c-c-decl.h:49
0x680571 gt_ggc_mx_lang_tree_node(void*)
./gt-c-c-decl.h:397
0x926f34 gt_ggc_mx_rtx_def(void*)
/dev/shm/buildbot/builddir/gcc/gtype-desc.c:727
0x927c6e gt_ggc_mx_rtvec_def(void*)
/dev/shm/buildbot/builddir/gcc/gtype-desc.c:974
0x927c6e gt_ggc_mx_rtvec_def(void*)
/dev/shm/buildbot/builddir/gcc/gtype-desc.c:964
0x92707c gt_ggc_mx_rtx_def(void*)
/dev/shm/buildbot/builddir/gcc/gtype-desc.c:808
0x926968 gt_ggc_mx_rtx_def(void*)
/dev/shm/buildbot/builddir/gcc/gtype-desc.c:917
0x925bf9 gt_ggc_mx_basic_block_def(void*)
/dev/shm/buildbot/builddir/gcc/gtype-desc.c:1549
0x9287c9 gt_ggc_mx_control_flow_graph(void*)
/dev/shm/buildbot/builddir/gcc/gtype-desc.c:2251
0x9287c9 gt_ggc_mx_control_flow_graph(void*)
/dev/shm/buildbot/builddir/gcc/gtype-desc.c:2246
0x92a04b gt_ggc_mx_function(void*)
/dev/shm/buildbot/builddir/gcc/gtype-desc.c:1704
0x92a04b gt_ggc_mx_function(void*)
/dev/shm/buildbot/builddir/gcc/gtype-desc.c:1698
0x6806ca gt_ggc_mx_lang_tree_node(void*)
./gt-c-c-decl.h:290
0x925649 gt_ggc_mx_dw_fde_node(void*)
/dev/shm/buildbot/builddir/gcc/gtype-desc.c:2153
0x925649 gt_ggc_mx_dw_fde_node(void*)
/dev/shm/buildbot/builddir/gcc/gtype-desc.c:2148
0x7f742e void gt_ggc_mx<dw_fde_node*>(vec<dw_fde_node*, va_gc, vl_embed>*)
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/vec.h:1325