This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/80573] New: ICE: internal compiler error: in assign_temp, at function.c:961
- From: "gjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 30 Apr 2017 13:27:42 +0000
- Subject: [Bug other/80573] New: ICE: internal compiler error: in assign_temp, at function.c:961
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80573
Bug ID: 80573
Summary: ICE: internal compiler error: in assign_temp, at
function.c:961
Product: gcc
Version: 6.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: gjl at gcc dot gnu.org
Target Milestone: ---
This PR looks similar to PR71210, however I am just using v6.3 from 2016-12-22
whereas PR71210 has been fixed for v6.2 on 2016-05-20.
== C-Program ==
extern char cards[];
void fun (void)
{
__asm volatile ("" : "+r" (cards));
}
$ avr-gcc ice-inv.c -S -v
Target: avr
Configured with: ../../gcc.gnu.org/gcc-6-branch/configure --target=avr
--prefix=/local/gnu/install/gcc-6-avr-mingw32 --host=i386-mingw32
--build=x86_64-linux-gnu --enable-languages=c,c++ --disable-nls
--disable-shared --enable-lto --with-dwarf2 --with-gnu-ld --with-gnu-as
Thread model: single
gcc version 6.3.1 20161222 [gcc-6-branch revision 243886] (GCC)
GNU C11 (GCC) version 6.3.1 20161222 [gcc-6-branch revision 243886] (avr)
compiled by GNU C version 3.4.5 (mingw-vista special r2), GMP version
4.3.2, MPFR version 2.4.2, MPC version 0.8.1, isl version none
ice-inv.c: In function 'fun':
ice-inv.c:5:5: internal compiler error: in assign_temp, at function.c:961
__asm volatile ("" : "+r" (cards));
^~~~~
ice-inv.c:5:5: internal compiler error: Segmentation fault