https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82098
Bug ID: 82098 Summary: [8 regression] internal compiler error: in elimination_costs_in_insn, at reload1.c:3616, -march=i686 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: arnd at linaro dot org Target Milestone: --- Created attachment 42114 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42114&action=edit linux/drivers/gpio/gpio-bcm-kona.c, preprocessed and compressed Building the Linux kernel with today's r251641 snapshoy, I encountered several internal compiler errors in gpio device drivers, all on x86, and all with the same call chain: $ x86_64-linux-gcc-8.0.0 -m32 -march=i686 -O2 -c gpio-bcm-kona.i /git/arm-soc/drivers/gpio/gpio-bcm-kona.c: In function 'bcm_kona_gpio_irq_ack': /git/arm-soc/drivers/gpio/gpio-bcm-kona.c:357:1: internal compiler error: in elimination_costs_in_insn, at reload1.c:3616 } ^ 0xa484cb elimination_costs_in_insn /home/arnd/git/gcc/gcc/reload1.c:3613 0xa48f3f calculate_elim_costs_all_insns() /home/arnd/git/gcc/gcc/reload1.c:1607 0x9299cf ira_costs() /home/arnd/git/gcc/gcc/ira-costs.c:2255 0x923152 ira_build() /home/arnd/git/gcc/gcc/ira-build.c:3420 0x91ad5c ira /home/arnd/git/gcc/gcc/ira.c:5270 0x91ad5c execute /home/arnd/git/gcc/gcc/ira.c:5581 I have attached the preprocessed source file, but have not yet created a reduced test case. The previous snapshot I used was r251220, dated Aug 21, and did not produce this ICE.