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-float.c] - Blame information for rev 154

Go to most recent revision | Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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