960327-1.c (f): Add a letter to s[] to avoid stack-frame overwrite.

* execute/960327-1.c (f): Add a letter to s[] to avoid stack-frame
	overwrite.

From-SVN: r32939
This commit is contained in:
Hans-Peter Nilsson 2000-04-05 20:52:22 +00:00 committed by Hans-Peter Nilsson
parent dff7cb5b08
commit 0d0df4fcbf
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Wed Apr 5 22:51:36 2000 Hans-Peter Nilsson <hp@axis.com>
* execute/960327-1.c (f): Add a letter to s[] to avoid stack-frame
overwrite.
2000-04-05 Jakub Jelinek <jakub@redhat.com>
* compile/20000405-2.c: New test.

View File

@ -6,7 +6,7 @@ g ()
f ()
{
char s[] = "abcedfg01234";
char s[] = "abcedfg012345";
char *sp = s + 12;
switch (g ())