http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52488
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Priority|P3 |P4
Status|WAITING |NEW
Version|unknown |4.7.0
Target Milestone|--- |4.7.1
--- Comment #3 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-03-12
11:11:49 UTC ---
Confirmed for the followin test case
void bar (char*);
void foo (void)
{
char c[2000];
bar (c);
}
and compiled with
$ avr-gcc sp.c -S -mmcu=attiny2313
The program should not run into ICE, there should be a proper error message.