Commit d6e524ce by Richard Guenther Committed by Richard Biener

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
parent bb0a9581
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> 2010-11-15 Nathan Froyd <froydnj@codesourcery.com>
PR preprocessor/45038 PR preprocessor/45038
......
// { dg-do run } // { dg-do run }
// { dg-options "-g" } // { dg-options "-g" }
// { dg-skip-if "" { *-*-* } { "-flto" } { "" } }
volatile int l; volatile int l;
...@@ -10,10 +11,10 @@ namespace S ...@@ -10,10 +11,10 @@ namespace S
f() f()
{ {
int i = 42; int i = 42;
l = i; // { dg-final { gdb-test 13 "i" "42" } } l = i; // { dg-final { gdb-test 14 "i" "42" } }
{ {
extern int i; extern int i;
l = i; // { dg-final { gdb-test 16 "i" "24" } } l = i; // { dg-final { gdb-test 17 "i" "24" } }
} }
} }
} }
......
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