Patchwork [libstdc++] : Adjust expected mangling for 128bit long double targets

login
register
mail settings
Submitter Uros Bizjak
Date Nov. 14, 2012, 9:45 p.m.
Message ID <CAFULd4Zeia=nmiSLp5+P_vHhNin_9v5ufsq-Djwm6-yuKt=VGQ@mail.gmail.com>
Download mbox | patch
Permalink /patch/199030/
State New
Headers show

Comments

Uros Bizjak - Nov. 14, 2012, 9:45 p.m.
Hello!

Attached patch adjusts expected demangling strings of
testsuite/26_numerics/complex/abi_tag.cc for 128bit long-double
targets.

2012-11-14  Uros Bizjak  <ubizjak@gmail.com>

	* testsuite/26_numerics/complex/abi_tag.cc: Adjust expected
	demangling for 128bit long-double targets.

Tested on alphaev68-pc-linux-gnu (128bit long double target) and
x86_64-pc-linux-gnu.

OK for mainline?

Uros.
Paolo Carlini - Nov. 14, 2012, 10:18 p.m.
On 11/14/2012 10:45 PM, Uros Bizjak wrote:
> Hello!
>
> Attached patch adjusts expected demangling strings of
> testsuite/26_numerics/complex/abi_tag.cc for 128bit long-double
> targets.
>
> 2012-11-14  Uros Bizjak  <ubizjak@gmail.com>
>
> 	* testsuite/26_numerics/complex/abi_tag.cc: Adjust expected
> 	demangling for 128bit long-double targets.
>
> Tested on alphaev68-pc-linux-gnu (128bit long double target) and
> x86_64-pc-linux-gnu.
>
> OK for mainline?
Ok.

Thanks,
Paolo.

Patch

Index: testsuite/26_numerics/complex/abi_tag.cc
===================================================================
--- testsuite/26_numerics/complex/abi_tag.cc	(revision 193502)
+++ testsuite/26_numerics/complex/abi_tag.cc	(working copy)
@@ -8,7 +8,7 @@ 
 float (std::complex<float>::*p1)() const = &std::complex<float>::real;
 // { dg-final { scan-assembler "_ZNKSt7complexIdE4realB5cxx11Ev" } }
 double (std::complex<double>::*p2)() const = &std::complex<double>::real;
-// { dg-final { scan-assembler "_ZNKSt7complexIeE4realB5cxx11Ev" } }
+// { dg-final { scan-assembler "_ZNKSt7complexI\[eg\]E4realB5cxx11Ev" } }
 long double (std::complex<long double>::*p3)() const
   = &std::complex<long double>::real;
 // { dg-final { scan-assembler "_ZNKSt7complexIiE4realB5cxx11Ev" } }
@@ -18,7 +18,7 @@ 
 float (std::complex<float>::*p5)() const = &std::complex<float>::imag;
 // { dg-final { scan-assembler "_ZNKSt7complexIdE4imagB5cxx11Ev" } }
 double (std::complex<double>::*p6)() const = &std::complex<double>::imag;
-// { dg-final { scan-assembler "_ZNKSt7complexIeE4imagB5cxx11Ev" } }
+// { dg-final { scan-assembler "_ZNKSt7complexI\[eg\]E4imagB5cxx11Ev" } }
 long double (std::complex<long double>::*p7)() const
   = &std::complex<long double>::imag;
 // { dg-final { scan-assembler "_ZNKSt7complexIiE4imagB5cxx11Ev" } }