Debian Codegraph @

gcc/testsuite/gcc.dg/debug/ctf/ctf-float-1.c

raw
1 /* Tests for CTF float base types.
2 - Verify that there is a single record for the base types. */
3
4 /* { dg-do compile } */
5 /* { dg-options "-O0 -gctf -dA" } */
6 /* { dg-final { scan-assembler-times "ascii \"float.0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */
7 /* { dg-final { scan-assembler-times "ascii \"double.0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */
8 /* { dg-final { scan-assembler-times "ascii \"long double.0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */
9
10 float a;
11 float b = 33;
12
13 double c = 44;
14 double d = 45;
15
16 long double e;