https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66541
Bug ID: 66541 Summary: r224314 causes ICE in gcc.dg/torture/pr52429.c Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jgreenhalgh at gcc dot gnu.org CC: christian.bruel at st dot com Target Milestone: --- Target: arm-none-linux-gnueabihf Created attachment 35781 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35781&action=edit Reduced testcase Looks closely related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64047 Reduced testcase attached, but the one in the testsuite is just as good. .../gcc/cc1 besttry.c -O2 -ftree-parallelize-loops=4 -O2 -flto -fno-use-linker-plugin -ftree-parallelize-loops=4 -o pr52429.s foo Analyzing compilation unit Performing interprocedural optimizations <*free_lang_data> <visibility> <build_ssa_passes> <opt_local_passes> <free-inline-summary> <whole-program> <profile_estimate> <icf> <devirt> <cp> <inline> <pure-const> <static-var> <single-use> <comdats>Assembling functions: foo .../gcc/testsuite/gcc.dg/torture/pr52429.c: In function ‘foo’: .../gcc/testsuite/gcc.dg/torture/pr52429.c:11:1: internal compiler error: Segmentation fault int i; ^ 0xafa15f crash_signal .../gcc/toplev.c:369 0x97c2b4 record_operand_costs .../gcc/ira-costs.c:1305 0x97c7a4 scan_one_insn .../gcc/ira-costs.c:1483 0x97c7a4 process_bb_for_costs .../gcc/ira-costs.c:1604 0x97d715 find_costs_and_classes .../gcc/ira-costs.c:1711 0x97ec3a ira_set_pseudo_classes(bool, _IO_FILE*) .../gcc/ira-costs.c:2245 0xffd743 alloc_global_sched_pressure_data .../gcc/haifa-sched.c:7119 0xffd743 sched_init() .../gcc/haifa-sched.c:7269 0xffebcf haifa_sched_init() .../gcc/haifa-sched.c:7281 0xaab8dc schedule_insns .../gcc/sched-rgn.c:3411 0xaac0b3 schedule_insns .../gcc/sched-rgn.c:3405 0xaac0b3 rest_of_handle_sched .../gcc/sched-rgn.c:3624 0xaac0b3 execute .../gcc/sched-rgn.c:3732 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.