From: Richard Guenther Date: Mon, 15 Nov 2010 15:52:42 +0000 (+0000) Subject: re PR lto/44989 (g++.dg/guality/redeclaration1.C) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d6e524ced59f50ad6ba70dda5195ed5ab78ebee6;p=gcc.git re PR lto/44989 (g++.dg/guality/redeclaration1.C) 2010-11-15 Richard Guenther PR lto/44989 * g++.dg/guality/redeclaration1.C: Do not execute for LTO. From-SVN: r166757 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 79ec4a98a64..f10da57971c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-11-15 Richard Guenther + + PR lto/44989 + * g++.dg/guality/redeclaration1.C: Do not execute for LTO. + 2010-11-15 Nathan Froyd PR preprocessor/45038 diff --git a/gcc/testsuite/g++.dg/guality/redeclaration1.C b/gcc/testsuite/g++.dg/guality/redeclaration1.C index 16f2f0ca481..93b0750b93c 100644 --- a/gcc/testsuite/g++.dg/guality/redeclaration1.C +++ b/gcc/testsuite/g++.dg/guality/redeclaration1.C @@ -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" } } } } }