From cdd0c4d3ff6939367e73ec68570b55a6257eea91 Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Wed, 2 Dec 2009 20:33:25 +0000 Subject: iinline-1.C: Adjust. 2009-12-02 Richard Guenther * g++.dg/ipa/iinline-1.C: Adjust. * g++.dg/template/cond2.C: Likewise. * g++.dg/template/pr35240.C: Likewise. From-SVN: r154924 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/g++.dg/ipa/iinline-1.C | 2 +- gcc/testsuite/g++.dg/template/cond2.C | 4 ++-- gcc/testsuite/g++.dg/template/pr35240.C | 4 ++-- 4 files changed, 11 insertions(+), 5 deletions(-) (limited to 'gcc') diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index dfe0081..dab89fa 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2009-12-02 Richard Guenther + + * g++.dg/ipa/iinline-1.C: Adjust. + * g++.dg/template/cond2.C: Likewise. + * g++.dg/template/pr35240.C: Likewise. + 2009-12-02 Ulrich Weigand PR middle-end/42224 diff --git a/gcc/testsuite/g++.dg/ipa/iinline-1.C b/gcc/testsuite/g++.dg/ipa/iinline-1.C index 6419ac3..b7b9345 100644 --- a/gcc/testsuite/g++.dg/ipa/iinline-1.C +++ b/gcc/testsuite/g++.dg/ipa/iinline-1.C @@ -44,5 +44,5 @@ int main (int argc, char *argv[]) return 0; } -/* { dg-final { scan-ipa-dump "String::funcOne\[^\\n\]*inline copy in main" "inline" } } */ +/* { dg-final { scan-ipa-dump "String::funcOne\[^\\n\]*inline copy in int main" "inline" } } */ /* { dg-final { cleanup-ipa-dump "inline" } } */ diff --git a/gcc/testsuite/g++.dg/template/cond2.C b/gcc/testsuite/g++.dg/template/cond2.C index e6bd19d..abb6ebb 100644 --- a/gcc/testsuite/g++.dg/template/cond2.C +++ b/gcc/testsuite/g++.dg/template/cond2.C @@ -3,8 +3,8 @@ template class c; -template int test(c&); // { dg-error "omitted" } +template int test(c&); void test(c<2>*c2) { - test<0, 2>(*c2); + test<0, 2>(*c2); // { dg-error "omitted" } } diff --git a/gcc/testsuite/g++.dg/template/pr35240.C b/gcc/testsuite/g++.dg/template/pr35240.C index 1972cf73..9b95799 100644 --- a/gcc/testsuite/g++.dg/template/pr35240.C +++ b/gcc/testsuite/g++.dg/template/pr35240.C @@ -4,9 +4,9 @@ template struct A {}; -template A foo(); // { dg-message "unimplemented" } +template A foo(); void bar() { - foo<1>(); + foo<1>(); // { dg-message "unimplemented" } } -- cgit v1.1