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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [debug/] [dwarf2/] [dwarf-dfp.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* Verify the DWARF encoding of C99 decimal floating point types.  */
2
 
3
/* { dg-do compile */
4
/* { dg-require-effective-target dfp } */
5
/* { dg-options "-O0 -gdwarf-2 -dA" } */
6
/* { dg-final { scan-assembler "0x10.*DW_AT_encoding" } } */
7
/* { dg-final { scan-assembler "0x4.*DW_AT_byte_size" } } */
8
/* { dg-final { scan-assembler "0x8.*DW_AT_byte_size" } } */
9
/* { dg-final { scan-assembler "0x10.*DW_AT_byte_size" } } */
10
 
11
void foo ()
12
{
13
  _Decimal32 f = 1.5df;
14
  _Decimal64 d = 1.5dd;
15
  _Decimal128 l = 1.5dl;
16
}

powered by: WebSVN 2.1.0

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