[Bug c/71627] AVR error: unable to find a register to spill in class 'POINTER_X_REGS'
gjl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 27 21:02:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71627
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gjl at gcc dot gnu.org
--- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Created attachment 38779
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38779&action=edit
ice.c: preprocessed C source
Confirmed for 4.9.2, 5.2 and 6.1.
Also confirmed for the following test case (no need for headers) with
-mmcu=atmega128 -O1:
extern volatile __memx const long a, b, c, d, e, f;
extern volatile long result;
extern void vfunc (const char*, ...);
void foo (void)
{
result = a + b + c + d + e + f;
vfunc ("text", a, b, c, d, e, f, result);
}
More information about the Gcc-bugs
mailing list