diff options
author | Andrew Pinski <pinskia@physics.uc.edu> | 2003-12-18 22:03:44 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2003-12-18 14:03:44 -0800 |
commit | 0b667ed86d1e3dafb25492864e181bc04cff7bba (patch) | |
tree | fbe9877498e7dd2a12b4c1f6ae749537ff818a90 /gcc/testsuite/g++.dg | |
parent | 373a04f11bacb75962fc334f3cec2ffd47950afb (diff) | |
download | gcc-0b667ed86d1e3dafb25492864e181bc04cff7bba.zip gcc-0b667ed86d1e3dafb25492864e181bc04cff7bba.tar.gz gcc-0b667ed86d1e3dafb25492864e181bc04cff7bba.tar.bz2 |
mangle18-1.C: Modify regexp to test for `[...
2003-12-18 Andrew Pinski <pinskia@physics.uc.edu>
* g++.dg/abi/mangle18-1.C: Modify regexp to test for `[: \t\n]' at end
of label name and allow for USER_LABEL_PREFIX == "_" names.
* g++.dg/abi/mangle18-2.C: Likewise.
* g++.dg/abi/mangle19-1.C: Likewise.
* g++.dg/abi/mangle19-2.C: Likewise.
* g++.dg/abi/mangle20-1.C: Likewise.
* g++.dg/abi/mangle20-2.C: Likewise.
From-SVN: r74805
Diffstat (limited to 'gcc/testsuite/g++.dg')
-rw-r--r-- | gcc/testsuite/g++.dg/abi/mangle18-1.C | 4 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/abi/mangle18-2.C | 4 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/abi/mangle19-1.C | 2 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/abi/mangle19-2.C | 2 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/abi/mangle20-1.C | 4 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/abi/mangle20-2.C | 4 |
6 files changed, 10 insertions, 10 deletions
diff --git a/gcc/testsuite/g++.dg/abi/mangle18-1.C b/gcc/testsuite/g++.dg/abi/mangle18-1.C index 2e7b3a8..a1be5e4 100644 --- a/gcc/testsuite/g++.dg/abi/mangle18-1.C +++ b/gcc/testsuite/g++.dg/abi/mangle18-1.C @@ -17,7 +17,7 @@ template <void (*)()> struct S {}; template <int *> struct T {}; void f (S<Foo>){} -// { dg-final { scan-assembler "\n_Z1f1SIXadL_Z3FooEEE:" } } +// { dg-final { scan-assembler "\n_?_Z1f1SIXadL_Z3FooEEE\[: \t\n\]" } } void g (T<&NMS::V>){} -// { dg-final { scan-assembler "\n_Z1g1TIXadL_Z1VEEE:" } } +// { dg-final { scan-assembler "\n_?_Z1g1TIXadL_Z1VEEE\[: \t\n\]" } } diff --git a/gcc/testsuite/g++.dg/abi/mangle18-2.C b/gcc/testsuite/g++.dg/abi/mangle18-2.C index be2b6b5..a231d49 100644 --- a/gcc/testsuite/g++.dg/abi/mangle18-2.C +++ b/gcc/testsuite/g++.dg/abi/mangle18-2.C @@ -17,7 +17,7 @@ template <void (*)()> struct S {}; template <int *> struct T {}; void f (S<Foo>){} // { dg-warning "mangled name" } -// { dg-final { scan-assembler "\n_Z1f1SIXadL3FooEEE:" } } +// { dg-final { scan-assembler "\n_?_Z1f1SIXadL3FooEEE\[: \t\n\]" } } void g (T<&NMS::V>){} // { dg-warning "mangled name" } -// { dg-final { scan-assembler "\n_Z1g1TIXadL_ZN3NMS1VEEEE:" } } +// { dg-final { scan-assembler "\n_?_Z1g1TIXadL_ZN3NMS1VEEEE\[: \t\n\]" } } diff --git a/gcc/testsuite/g++.dg/abi/mangle19-1.C b/gcc/testsuite/g++.dg/abi/mangle19-1.C index 7cc946e..c7ab2cb 100644 --- a/gcc/testsuite/g++.dg/abi/mangle19-1.C +++ b/gcc/testsuite/g++.dg/abi/mangle19-1.C @@ -10,4 +10,4 @@ extern int N; template <int &> struct S {}; void n (S<N>) {} -// { dg-final { scan-assembler "\n_Z1n1SILZ1NEE:" } } +// { dg-final { scan-assembler "\n_?_Z1n1SILZ1NEE\[: \t\n\]" } } diff --git a/gcc/testsuite/g++.dg/abi/mangle19-2.C b/gcc/testsuite/g++.dg/abi/mangle19-2.C index fbf1a07..f0855e6 100644 --- a/gcc/testsuite/g++.dg/abi/mangle19-2.C +++ b/gcc/testsuite/g++.dg/abi/mangle19-2.C @@ -10,4 +10,4 @@ extern int N; template <int &> struct S {}; void n (S<N>) {} // { dg-warning "mangled name" } -// { dg-final { scan-assembler "\n_Z1n1SIXadL_Z1NEEE:" } } +// { dg-final { scan-assembler "\n_?_Z1n1SIXadL_Z1NEEE\[: \t\n\]" } } diff --git a/gcc/testsuite/g++.dg/abi/mangle20-1.C b/gcc/testsuite/g++.dg/abi/mangle20-1.C index 09cf51b..1985fe3 100644 --- a/gcc/testsuite/g++.dg/abi/mangle20-1.C +++ b/gcc/testsuite/g++.dg/abi/mangle20-1.C @@ -14,6 +14,6 @@ static const int I=1; static const int J=2; template void f<1>(int (*)[2]); -// { dg-final { scan-assembler "\n_Z1fILi1EEvPA2_i:" } } +// { dg-final { scan-assembler "\n_?_Z1fILi1EEvPA2_i\[: \t\n\]" } } template void g<1>(int (*)[3]); -// { dg-final { scan-assembler "\n_Z1gILi1EEvPAplT_Li2E_i:" } } +// { dg-final { scan-assembler "\n_?_Z1gILi1EEvPAplT_Li2E_i\[: \t\n\]" } } diff --git a/gcc/testsuite/g++.dg/abi/mangle20-2.C b/gcc/testsuite/g++.dg/abi/mangle20-2.C index 44d3afe..bf3d189 100644 --- a/gcc/testsuite/g++.dg/abi/mangle20-2.C +++ b/gcc/testsuite/g++.dg/abi/mangle20-2.C @@ -11,6 +11,6 @@ template <int I> void f(int (*)[2]) {} template <int I> void g(int (*)[I+2]) {} template void f<1>(int (*)[2]); // { dg-warning "mangled name" } -// { dg-final { scan-assembler "\n_Z1fILi1EEvPALi2E_i:" } } +// { dg-final { scan-assembler "\n_?_Z1fILi1EEvPALi2E_i\[: \t\n\]" } } template void g<1>(int (*)[3]); -// { dg-final { scan-assembler "\n_Z1gILi1EEvPAplT_Li2E_i:" } } +// { dg-final { scan-assembler "\n_?_Z1gILi1EEvPAplT_Li2E_i\[: \t\n\]" } } |