re PR ipa/65588 (lto1: internal compiler error: Segmentation fault)

PR ipa/65588
	* gcc.target/i386/pr65588.c: New testcase.

From-SVN: r221764
This commit is contained in:
Jan Hubicka 2015-03-29 17:41:55 +02:00 committed by Jan Hubicka
parent af21714c7b
commit 43b11666cc
2 changed files with 16 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2015-03-27 Jan Hubicka <hubicka@ucw.cz>
PR ipa/65588
* gcc.target/i386/pr65588.c: New testcase.
2015-03-29 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libgfortran/65563

View file

@ -0,0 +1,11 @@
/* { dg-do link } */
/* { dg-require-effective-target lto } */
/* { dg-options "-O2 -flto" } */
#ifdef __x86_64__
register volatile int a __asm__("%rsp");
#else
register volatile int a __asm__("%esp");
#endif
__attribute__ ((used))
int t () { a = 0; }
int main () { a = 0; }