Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / abi / mangle25.C
blobb57b7dac83afb96c02463454961dcb3b54d3f006
1 // Test mangling of __float128.
2 // The C++ ABI document says __float128 is mangled as "g".  It
3 // also says that "long double" is mangled as "e", so these conflict on
4 // ia64-hpux where "long double" is "e" and __float128 is synonymous with
5 // "long double".
6 // Origin: Joseph Myers <joseph@codesourcery.com>
7 // { dg-do compile { target i?86-*-* x86_64-*-* ia64-*-* } } */
8 // { dg-options "" } */
9 // { dg-options "-mmmx" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
10 // { dg-final { scan-assembler "_Z1fg" { target i?86-*-* x86_64-*-* } } } */
11 // { dg-final { scan-assembler "_Z1fg" { target { ia64-*-* && { ! "ia64-*-hpux*" } } } } } */
12 // { dg-final { scan-assembler "_Z1fe" { target ia64-*-hpux* } } } */
14 int f(__float128 x) { return 0; }