Debian Codegraph @

gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-1.c

raw
1 /* CTF does not have representation for some types at this time. These types
2 are skipped in the CTF generation phase in the compiler.
3
4 An explicit CTF type with kind CTF_K_UNKNOWN is created for types that do
5 not have representation in CTF. */
6
7 /* { dg-do compile } */
8 /* { dg-options "-gctf -dA" } */
9 /* { dg-final { scan-assembler-times "\[\t \]0x2000000\[\t \]+\[^\n\]*ctt_info" 1 } } */
10 /* { dg-final { scan-assembler-times "ascii \"unknown.0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */
11
12 /* { dg-require-effective-target libc_has_complex_functions } */
13
14 #include <complex.h>
15
16 typedef float La_x86_64_xmm __attribute__ ((__vector_size__ (16)));
17 La_x86_64_xmm a1;
18
19 /* GCC also supports complex integer data types. */
20 complex char a;
21 complex signed char b;
22 complex unsigned char c;
23 complex short int d;
24 complex short unsigned int e;
25 complex int f;
26 complex unsigned int g;
27 complex long int h;
28 complex long unsigned int i;
29 complex long long int j;
30
31 enum gomp_schedule_type
32 {
33 GFS_RUNTIME,
34 GFS_STATIC,
35 GFS_MONOTONIC = 0x80000000U
36 };
37
38 enum gomp_schedule_type gsch_type;