aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2009-12-02 20:33:25 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2009-12-02 20:33:25 +0000
commitcdd0c4d3ff6939367e73ec68570b55a6257eea91 (patch)
treef46e6eec50dc15fcf978ec6a6d6923eb2c13a78d /gcc
parent57e37d2645870b8190ea825b73709fd94c4bc3eb (diff)
downloadgcc-cdd0c4d3ff6939367e73ec68570b55a6257eea91.zip
gcc-cdd0c4d3ff6939367e73ec68570b55a6257eea91.tar.gz
gcc-cdd0c4d3ff6939367e73ec68570b55a6257eea91.tar.bz2
iinline-1.C: Adjust.
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. From-SVN: r154924
Diffstat (limited to 'gcc')
-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 dfe0081..dab89fa 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 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<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 1972cf73..9b95799 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" }
}