------- Comment #3 from jpr at csc dot fi 2010-09-20 11:05 ------- Even simpler testcase, now in C.
#include <stdio.h>
#include <stdlib.h>
void a()
{
char s[2];
void b() {
char p[4096];
if ( strcmp(s,"s")!=0 ) abort();
strcpy( p,"p");
}
strcpy( s,"s" );
b();
}
main()
{
a();
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45694
