https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79584
Bug ID: 79584 Summary: ICE in base_to_reg, at lra-constraints.c:2918 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: pthaugen at gcc dot gnu.org CC: dje at gcc dot gnu.org, wschmidt at gcc dot gnu.org Target Milestone: --- Host: powerpc64-unknown-linux-gnu Target: powerpc64-unknown-linux-gnu Build: powerpc64-unknown-linux-gnu Testcase c-c++-common/dfp/pr35620.c ICE's as follows: $ ~/install/gcc/trunk/bin/gcc -S -O2 -m32 -mcpu=power7 ~/src/gcc/trunk/gcc/gcc/testsuite/c-c++-common/dfp/pr35620.c /home/pthaugen/src/gcc/trunk/gcc/gcc/testsuite/c-c++-common/dfp/pr35620.c: In function ‘blatz’: /home/pthaugen/src/gcc/trunk/gcc/gcc/testsuite/c-c++-common/dfp/pr35620.c:21:1: internal compiler error: in base_to_reg, at lra-constraints.c:2918 } ^ 0x106f5aaf base_to_reg /home/pthaugen/src/gcc/trunk/gcc/gcc/lra-constraints.c:2918 0x106f5aaf process_address_1 /home/pthaugen/src/gcc/trunk/gcc/gcc/lra-constraints.c:3290 0x106f6e53 process_address /home/pthaugen/src/gcc/trunk/gcc/gcc/lra-constraints.c:3409 0x106f6e53 curr_insn_transform /home/pthaugen/src/gcc/trunk/gcc/gcc/lra-constraints.c:3719 0x106fa80b lra_constraints(bool) /home/pthaugen/src/gcc/trunk/gcc/gcc/lra-constraints.c:4732 0x106de24f lra(_IO_FILE*) /home/pthaugen/src/gcc/trunk/gcc/gcc/lra.c:2378 0x10680467 do_reload /home/pthaugen/src/gcc/trunk/gcc/gcc/ira.c:5400 0x10680467 execute /home/pthaugen/src/gcc/trunk/gcc/gcc/ira.c:5584 Please submit a full bug report, This started showing up in gcc-testresults after r243866 which turned on -fsched-pressure for PowerPC, but can reproduced on earlier revisions by adding -fsched-pressure.