re PR lto/48100 (Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 with mixed LTO/non-LTO objects)
2011-12-07 Richard Guenther <rguenther@suse.de> PR lto/48100 * gcc.dg/lto/20111207-1_0.c: New testcase. * gcc.dg/lto/20111207-1_1.c: Likewise. * gcc.dg/lto/20111207-1_2.c: Likewise. * gcc.dg/lto/20111207-1_3.c: Likewise. From-SVN: r182082
This commit is contained in:
parent
f867f13406
commit
543dfd37ec
5 changed files with 22 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
2011-12-07 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR lto/48100
|
||||
* gcc.dg/lto/20111207-1_0.c: New testcase.
|
||||
* gcc.dg/lto/20111207-1_1.c: Likewise.
|
||||
* gcc.dg/lto/20111207-1_2.c: Likewise.
|
||||
* gcc.dg/lto/20111207-1_3.c: Likewise.
|
||||
|
||||
2011-12-07 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/50823
|
||||
|
|
4
gcc/testsuite/gcc.dg/lto/20111207-1_0.c
Normal file
4
gcc/testsuite/gcc.dg/lto/20111207-1_0.c
Normal file
|
@ -0,0 +1,4 @@
|
|||
/* { dg-lto-do run } */
|
||||
/* { dg-lto-options { { -flto } } } */
|
||||
/* { dg-require-linker-plugin "" } */
|
||||
/* { dg-extra-ld-options "-fuse-linker-plugin" } */
|
3
gcc/testsuite/gcc.dg/lto/20111207-1_1.c
Normal file
3
gcc/testsuite/gcc.dg/lto/20111207-1_1.c
Normal file
|
@ -0,0 +1,3 @@
|
|||
/* { dg-options "-fno-lto" } */
|
||||
|
||||
int i;
|
1
gcc/testsuite/gcc.dg/lto/20111207-1_2.c
Normal file
1
gcc/testsuite/gcc.dg/lto/20111207-1_2.c
Normal file
|
@ -0,0 +1 @@
|
|||
int i;
|
6
gcc/testsuite/gcc.dg/lto/20111207-1_3.c
Normal file
6
gcc/testsuite/gcc.dg/lto/20111207-1_3.c
Normal file
|
@ -0,0 +1,6 @@
|
|||
extern int i;
|
||||
|
||||
int main()
|
||||
{
|
||||
return i;
|
||||
}
|
Loading…
Add table
Reference in a new issue