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:
parent
2a0950934e
commit
3ec053a277
|
@ -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
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue