OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [abi/] [mangle24.C] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// Test mangling of __float80.
2
// The C++ ABI document says __float80 is mangled as "e".  It
3
// also says that "long double" is mangled as "e", so these conflict on
4
// ia64-hpux where "long double" is "e" and __float80 is "u9__float80".
5
// Origin: Joseph Myers 
6
// { dg-do compile { target i?86-*-* x86_64-*-* ia64-*-* } } */
7
// { dg-options "" } */
8
// { dg-options "-mmmx" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
9
// { dg-final { scan-assembler "_Z1fe" { target i?86-*-* x86_64-*-* } } } */
10
// { dg-final { scan-assembler "_Z1fe" { target { ia64-*-* && { ! "ia64-*-hpux*" } } } } } */
11
// { dg-final { scan-assembler "_Z1fu9__float80" { target ia64-*-hpux* } } } */
12
 
13
int f(__float80 x) { return 0; }

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.