Commit 9dcc9b3b by Jason Merrill Committed by Jason Merrill

re PR target/51934 (FAIL: g++.dg/torture/pr51344.C -O0 (test for excess…

re PR target/51934 (FAIL: g++.dg/torture/pr51344.C  -O0  (test for excess errors)  due to "cdecl attribute ignored" warning)

	PR target/51934
	* g++.dg/torture/pr51344.C: Use noreturn instead of cdecl.

From-SVN: r183434
parent f2ede0ee
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> 2012-01-23 Greta Yorsh <Greta.Yorsh@arm.com>
* c-c++-common/tm/omp.c: Require target with pthread support. * c-c++-common/tm/omp.c: Require target with pthread support.
......
...@@ -4,7 +4,7 @@ class A; ...@@ -4,7 +4,7 @@ class A;
template <class T> template <class T>
class B class B
{ {
friend __attribute__((cdecl)) A& operator >>(A& a, B& b) friend __attribute__((noreturn)) A& operator >>(A& a, B& b)
{ {
return a; return a;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment