Fix 32-bit gcc.dg/lto/pr55525 with Sun ld

* gcc.dg/lto/pr55525_0.c (s): Size like char *.

From-SVN: r194979
This commit is contained in:
Richard Biener 2013-01-07 16:05:20 +00:00 committed by Rainer Orth
parent 2a0950934e
commit 3ec053a277
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2013-01-07 Richard Biener <rguenther@suse.de>
* gcc.dg/lto/pr55525_0.c (s): Size like char *.
2013-01-07 Richard Biener <rguenther@suse.de>
PR middle-end/55890

View File

@ -1,7 +1,7 @@
/* { dg-lto-do link } */
/* { dg-lto-options { { -flto -w } } } */
char s[8];
char s[sizeof (char *)];
int main(void)
{
return strcmp(&s[1], "foo");