Commit 5965b617 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: Limit to x86.

From-SVN: r183436
parent 5752c591
2012-01-23 Jason Merrill <jason@redhat.com> 2012-01-23 Jason Merrill <jason@redhat.com>
PR target/51934 PR target/51934
* g++.dg/torture/pr51344.C: Use noreturn instead of cdecl. * g++.dg/torture/pr51344.C: Limit to x86.
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.
......
/* { dg-do compile } */ /* { dg-do compile { target { i?86-*-* && ilp32 } } } */
class A; class A;
template <class T> template <class T>
class B class B
{ {
friend __attribute__((noreturn)) A& operator >>(A& a, B& b) friend __attribute__((cdecl)) 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