https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70016
Bug ID: 70016 Summary: [Regression] pr52429.c fails since r233745 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: kyrylo.tkachov at arm dot com Reporter: clyon at gcc dot gnu.org Target Milestone: --- Target: aarch64-none-linux-gnu Since r233745 ([AArch64] Set TREE_TARGET_GLOBALS in aarch64_set_current_function when new tree is the default node to recalculate optab availability), I've noticed that: FAIL: gcc.dg/torture/pr52429.c -O2 -flto -fno-use-linker-plugin -flto-partition=none (internal compiler error) on target aarch64-none-linux-gnu The log contains: spawn -ignore SIGHUP /aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64-none-linux-gnu/gcc3/gcc/xgcc -B/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64-none-linux-gnu/gcc 3/gcc/ /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/testsuite/gcc.dg/torture/pr52429.c -fno-diagnostics-show-caret -fdiagnostics-color=never -O2 -flto -fno-use-linker-pl ugin -flto-partition=none -g -ftree-parallelize-loops=4 -DSTACK_SIZE=16384 -S -o pr52429.s /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/testsuite/gcc.dg/torture/pr52429.c: In function 'foo': /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/testsuite/gcc.dg/torture/pr52429.c:24:1: internal compiler error: Segmentation fault 0xade075 crash_signal /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/toplev.c:335 0x91f88e record_operand_costs /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/ira-costs.c:1293 0x91fdba scan_one_insn /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/ira-costs.c:1471 0x91fdba process_bb_for_costs /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/ira-costs.c:1592 0x9214e7 find_costs_and_classes /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/ira-costs.c:1699 0x922552 ira_set_pseudo_classes(bool, _IO_FILE*) /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/ira-costs.c:2239 0x1061ecd alloc_global_sched_pressure_data /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/haifa-sched.c:7244 0x1061ecd sched_init() /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/haifa-sched.c:7394 0x10679ed haifa_sched_init() /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/haifa-sched.c:7406 0xa84fae schedule_insns() /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/sched-rgn.c:3504 0xa85864 rest_of_handle_sched /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/sched-rgn.c:3717 0xa85864 execute /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/sched-rgn.c:3825