re PR lto/41584 (WHOPR doesn't grok empty units)

2010-06-03  Richard Guenther  <rguenther@suse.de>

	PR lto/41584
	* gcc.dg/lto/20100603-1_0.c: New testcase.
	* gcc.dg/lto/20100603-2_0.c: Likewise.
	* gcc.dg/lto/20100603-3_0.c: Likewise.

From-SVN: r160223
This commit is contained in:
Richard Guenther 2010-06-03 14:22:46 +00:00 committed by Richard Biener
parent c87d6057c5
commit f278d75781
4 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2010-06-03 Richard Guenther <rguenther@suse.de>
PR lto/41584
* gcc.dg/lto/20100603-1_0.c: New testcase.
* gcc.dg/lto/20100603-2_0.c: Likewise.
* gcc.dg/lto/20100603-3_0.c: Likewise.
2010-06-02 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/44218

View File

@ -0,0 +1,4 @@
/* { dg-lto-do link } */
/* { dg-extra-ld-options {-r -nostdlib} } */
/* This file intentionally left empty. */

View File

@ -0,0 +1,5 @@
/* { dg-lto-do link } */
/* { dg-extra-ld-options {-r -nostdlib} } */
int foo;
int *i = &foo;

View File

@ -0,0 +1,4 @@
/* { dg-lto-do link } */
/* { dg-extra-ld-options {-r -nostdlib} } */
int i = 42;