mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
f2ede0eea0
commit
9dcc9b3b01
|
|
@ -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>
|
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;
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue