re PR lto/44989 (g++.dg/guality/redeclaration1.C)

2010-11-15  Richard Guenther  <rguenther@suse.de>

	PR lto/44989
	* g++.dg/guality/redeclaration1.C: Do not execute for LTO.

From-SVN: r166757
This commit is contained in:
Richard Guenther 2010-11-15 15:52:42 +00:00 committed by Richard Biener
parent bb0a9581a5
commit d6e524ced5
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2010-11-15 Richard Guenther <rguenther@suse.de>
PR lto/44989
* g++.dg/guality/redeclaration1.C: Do not execute for LTO.
2010-11-15 Nathan Froyd <froydnj@codesourcery.com>
PR preprocessor/45038

View File

@ -1,5 +1,6 @@
// { dg-do run }
// { dg-options "-g" }
// { dg-skip-if "" { *-*-* } { "-flto" } { "" } }
volatile int l;
@ -10,10 +11,10 @@ namespace S
f()
{
int i = 42;
l = i; // { dg-final { gdb-test 13 "i" "42" } }
l = i; // { dg-final { gdb-test 14 "i" "42" } }
{
extern int i;
l = i; // { dg-final { gdb-test 16 "i" "24" } }
l = i; // { dg-final { gdb-test 17 "i" "24" } }
}
}
}