* g++.dg/abi/mangle19-1.C: Adjust for default -Wabi.
* g++.dg/abi/mangle23.C: Likewise.
* g++.dg/eh/simd-2.C: Likewise.
* g++.dg/ext/attribute-test-2.C: Likewise.
* g++.dg/ext/vector14.C: Likewise.
* g++.dg/other/pr34435.C: Likewise.
* g++.dg/template/conv8.C: Likewise.
* g++.dg/template/nontype9.C: Likewise.
* g++.dg/template/qualttp17.C: Likewise.
* g++.dg/template/ref1.C: Likewise.
* g++.old-deja/g++.pt/crash68.C: Likewise.
* g++.old-deja/g++.pt/ref1.C: Likewise.
* g++.old-deja/g++.pt/ref3.C: Likewise.
* g++.old-deja/g++.pt/ref4.C: Likewise.
From-SVN: r157205
2010-03-03 Jason Merrill <jason@redhat.com>
+ * g++.dg/abi/mangle19-1.C: Adjust for default -Wabi.
+ * g++.dg/abi/mangle23.C: Likewise.
+ * g++.dg/eh/simd-2.C: Likewise.
+ * g++.dg/ext/attribute-test-2.C: Likewise.
+ * g++.dg/ext/vector14.C: Likewise.
+ * g++.dg/other/pr34435.C: Likewise.
+ * g++.dg/template/conv8.C: Likewise.
+ * g++.dg/template/nontype9.C: Likewise.
+ * g++.dg/template/qualttp17.C: Likewise.
+ * g++.dg/template/ref1.C: Likewise.
+ * g++.old-deja/g++.pt/crash68.C: Likewise.
+ * g++.old-deja/g++.pt/ref1.C: Likewise.
+ * g++.old-deja/g++.pt/ref3.C: Likewise.
+ * g++.old-deja/g++.pt/ref4.C: Likewise.
+
PR c++/12909
* g++.dg/abi/mangle40.C: New.
* g++.dg/abi/mangle41.C: New.
// { dg-do compile }
-// { dg-options "-fabi-version=2" }
+// { dg-options "-fabi-version=2 -Wno-abi" }
// Copyright (C) 2003 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 15 Dec 2003 <nathan@codesourcery.com>
// PR c++/16240
-// { dg-options "-fabi-version=2" }
+// { dg-options "-fabi-version=2 -Wno-abi" }
void foo(char);
template<void (&)(char)> struct CB {};
// Test EH when V2SI SIMD registers are involved.
// Contributed by Aldy Hernandez (aldy@quesejoda.com).
-// { dg-options "-O" }
+// { dg-options "-O -Wno-abi" }
// { dg-options "-O -w" { target { { i?86-*-* x86_64-*-* } && ilp32 } } }
// { dg-do run }
// Test EH when V4SI SIMD registers are involved.
// Contributed by Aldy Hernandez (aldy@quesejoda.com).
-// { dg-options "-O" }
+// { dg-options "-O -Wno-abi" }
// { dg-options "-O -w" { target { { i?86-*-* x86_64-*-* } && ilp32 } } }
// { dg-options "-O -w" { target powerpc*-*-* } }
// { dg-options "-O -w -maltivec" { target { powerpc*-*-* && vmx_hw } } }
// { dg-do run }
-// { dg-options "" }
+// { dg-options "-Wno-abi" }
// PR c++/9844
extern "C" void abort();
// { dg-options "-msse" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
// Ignore warning on some powerpc-linux configurations.
// { dg-prune-output "non-standard ABI extension" }
+// { dg-prune-output "mangled name" }
#define vector __attribute__((vector_size(16)))
// PR c++/23337; caused an ICE in component_ref_field_offset
// { dg-options "" }
// { dg-options "-mmmx" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
+// { dg-prune-output "mangled name" }
typedef int vec __attribute__ ((vector_size (8)));
extern int bar (vec);
int
// { dg-do link { target i?86-*-* x86_64-*-* } }
// { dg-options "-O2 -mmmx" }
+// { dg-prune-output "mangled name" }
#include <mmintrin.h>
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
-/* { dg-options "-msse2" } */
+/* { dg-options "-msse2 -Wno-abi" } */
#include <emmintrin.h>
-// { dg-options "-fabi-version=1" }
+// { dg-options "-fabi-version=1 -Wno-abi" }
template <typename T> struct S {
struct I{};
// { dg-do compile }
+// { dg-prune-output "mangled name" }
// Contributed by: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
int i;
// Copyright (C) 2001 Free Software Foundation
// Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
// { dg-do compile }
-// { dg-options "-fno-inline -fabi-version=1" }
+// { dg-options "-fno-inline -fabi-version=1 -Wno-abi" }
struct A
{
+// { dg-prune-output "mangled name" }
class a {} a1;
template <a & p> class b { public: b() { static_cast <a &> (p); } };
int main() { b <a1> b1; }
// { dg-do assemble }
+// { dg-prune-output "mangled name" }
//
// Copyright (C) 2001 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 25 Jul 2001 <nathan@codesourcery.com>
// { dg-do assemble }
+// { dg-prune-output "mangled name" }
int i;
// { dg-do run }
+// { dg-prune-output "mangled name" }
// Origin: John Wilkinson <jfw@sgi.com>
template <class T, int& Size>
// { dg-do assemble }
+// { dg-prune-output "mangled name" }
//
// Copyright (C) 2001 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 29 Apr 2001 <nathan@codesourcery.com>