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:
parent
af21714c7b
commit
43b11666cc
2 changed files with 16 additions and 0 deletions
|
@ -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
|
||||
|
|
11
gcc/testsuite/gcc.target/i386/pr65588.c
Normal file
11
gcc/testsuite/gcc.target/i386/pr65588.c
Normal 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; }
|
Loading…
Add table
Reference in a new issue