https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78707
Bug ID: 78707
Summary: [4.8/4.9/5/6 Regression: internal compiler error: in
push_reload, at reload.c:1349
Product: gcc
Version: 6.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: gjl at gcc dot gnu.org
Target Milestone: ---
Created attachment 40274
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40274&action=edit
sscanf_flt-f1.c. C test case
The attached C test ICEs with v6, v5, v4.9 and v4.8:
$ avr-gcc sscanf_flt-f1.c -Os -mmcu=atmega128
sscanf_flt-f1.c: In function 'main':
sscanf_flt-f1.c:108:1: internal compiler error: in push_reload, at
reload.c:1349
}
^
0x8f9c87 push_reload(rtx_def*, rtx_def*, rtx_def**, rtx_def**, reg_class,
machine_mode, machine_mode, int, int, int, reload_type)
../../../gcc.gnu.org/gcc-6-branch/gcc/reload.c:1348
0x8f7fde push_reload(rtx_def*, rtx_def*, rtx_def**, rtx_def**, reg_class,
machine_mode, machine_mode, int, int, int, reload_type)
../../../gcc.gnu.org/gcc-6-branch/gcc/reload.c:1155
0x90057b find_reloads(rtx_insn*, int, int, int, short*)
../../../gcc.gnu.org/gcc-6-branch/gcc/reload.c:4035
0x90d7fd calculate_needs_all_insns
../../../gcc.gnu.org/gcc-6-branch/gcc/reload1.c:1484
0x90d7fd reload(rtx_insn*, int)
../../../gcc.gnu.org/gcc-6-branch/gcc/reload1.c:995
0x7fba39 do_reload
../../../gcc.gnu.org/gcc-6-branch/gcc/ira.c:5437
0x7fba39 execute
../../../gcc.gnu.org/gcc-6-branch/gcc/ira.c:5609
Please submit a full bug report,
== configure ==
Configured with: ../../gcc.gnu.org/gcc-6-branch/configure --target=avr
--prefix=/local/gnu/install/gcc-6 --disable-nls --disable-shared --with-dwarf2
--with-gnu-ld --with-gnu-as target_alias=avr --enable-languages=c,c++,lto
--enable-checking=release
Thread model: single
gcc version 6.2.1 20161207 (GCC)
$ svn info
Path: .
Working Copy Root Path: /srv/local/gnu/gcc.gnu.org/gcc-6-branch
URL: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch
Relative URL: ^/branches/gcc-6-branch
Repository Root: svn+ssh://gcc.gnu.org/svn/gcc
Repository UUID: 138bc75d-0d04-0410-961f-82ee72b054a4
Revision: 243334