summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2009-12-02 20:33:25 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2009-12-02 20:33:25 +0000
commit7d3dfe885bc7cdbf20bd7aeed68cc02e8fc12184 (patch)
treef46e6eec50dc15fcf978ec6a6d6923eb2c13a78d
parentfafafb9f6e63e16315a93c8e86084ff3c98b9bb3 (diff)
downloadgcc-7d3dfe885bc7cdbf20bd7aeed68cc02e8fc12184.tar.gz
2009-12-02 Richard Guenther <rguenther@suse.de>
* g++.dg/ipa/iinline-1.C: Adjust. * g++.dg/template/cond2.C: Likewise. * g++.dg/template/pr35240.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154924 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/g++.dg/ipa/iinline-1.C2
-rw-r--r--gcc/testsuite/g++.dg/template/cond2.C4
-rw-r--r--gcc/testsuite/g++.dg/template/pr35240.C4
4 files changed, 11 insertions, 5 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index dfe0081ae05..dab89fa74a0 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2009-12-02 Richard Guenther <rguenther@suse.de>
+
+ * g++.dg/ipa/iinline-1.C: Adjust.
+ * g++.dg/template/cond2.C: Likewise.
+ * g++.dg/template/pr35240.C: Likewise.
+
2009-12-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
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 6419ac3e8cd..b7b93451cdc 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 e6bd19d40fa..abb6ebb5d46 100644
--- a/gcc/testsuite/g++.dg/template/cond2.C
+++ b/gcc/testsuite/g++.dg/template/cond2.C
@@ -3,8 +3,8 @@
template<int X> class c;
-template<int X, int Y> int test(c<X ? : Y>&); // { dg-error "omitted" }
+template<int X, int Y> int test(c<X ? : Y>&);
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 1972cf73b87..9b957993efa 100644
--- a/gcc/testsuite/g++.dg/template/pr35240.C
+++ b/gcc/testsuite/g++.dg/template/pr35240.C
@@ -4,9 +4,9 @@
template<int> struct A {};
-template<int N> A<sizeof(new int[N][N])> foo(); // { dg-message "unimplemented" }
+template<int N> A<sizeof(new int[N][N])> foo();
void bar()
{
- foo<1>();
+ foo<1>(); // { dg-message "unimplemented" }
}