Commit e15b6067 by Richard Guenther Committed by Richard Biener

re PR debug/47801 (guality tests have issues with LTO / -fwhole-program)

2011-02-24  Richard Guenther  <rguenther@suse.de>

	PR testsuite/47801
	* gcc.dg/guality/pr41353-1.c (vari): Mark as used.
	* gcc.dg/guality/pr41353-2.c (vari): Likewise.

From-SVN: r170467
parent 1c3277ee
2011-02-24 Richard Guenther <rguenther@suse.de> 2011-02-24 Richard Guenther <rguenther@suse.de>
PR testsuite/47801
* gcc.dg/guality/pr41353-1.c (vari): Mark as used.
* gcc.dg/guality/pr41353-2.c (vari): Likewise.
2011-02-24 Richard Guenther <rguenther@suse.de>
PR fortran/47839 PR fortran/47839
* gfortran.dg/lto/pr47839_0.f90: New testcase. * gfortran.dg/lto/pr47839_0.f90: New testcase.
* gfortran.dg/lto/pr47839_1.f90: Likewise. * gfortran.dg/lto/pr47839_1.f90: Likewise.
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-g" } */ /* { dg-options "-g" } */
int vari = 17, varj; int vari __attribute__((used)) = 17, varj;
__attribute__((noinline)) int __attribute__((noinline)) int
f1 (void) f1 (void)
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
/* { dg-options "-g" } */ /* { dg-options "-g" } */
int varh; int varh;
int vari = 17, varj; int vari __attribute__((used)) = 17, varj;
__attribute__((noinline)) int __attribute__((noinline)) int
f1 (void) f1 (void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment