diff options
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/torture/pr51344.C | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ca1ecdf..ca7f6b0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-01-23 Jason Merrill <jason@redhat.com> + + PR target/51934 + * g++.dg/torture/pr51344.C: Use noreturn instead of cdecl. + 2012-01-23 Greta Yorsh <Greta.Yorsh@arm.com> * c-c++-common/tm/omp.c: Require target with pthread support. diff --git a/gcc/testsuite/g++.dg/torture/pr51344.C b/gcc/testsuite/g++.dg/torture/pr51344.C index 4901832..b076fece 100644 --- a/gcc/testsuite/g++.dg/torture/pr51344.C +++ b/gcc/testsuite/g++.dg/torture/pr51344.C @@ -4,7 +4,7 @@ class A; template <class T> class B { - friend __attribute__((cdecl)) A& operator >>(A& a, B& b) + friend __attribute__((noreturn)) A& operator >>(A& a, B& b) { return a; } |