annotate gcc/testsuite/gcc.dg/uninit-C-O0.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children 1830386684a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* Spurious uninitialized variable warning, inspired by libgcc2.c. */
kono
parents:
diff changeset
2 /* { dg-do compile } */
kono
parents:
diff changeset
3 /* { dg-options "-Wuninitialized" } */
kono
parents:
diff changeset
4
kono
parents:
diff changeset
5 /* Not all platforms support TImode integers. */
kono
parents:
diff changeset
6 #if (defined(__LP64__) && !defined(__hppa__)) || defined(__SPU__)
kono
parents:
diff changeset
7 typedef int TItype __attribute__ ((mode (TI)));
kono
parents:
diff changeset
8 #else
kono
parents:
diff changeset
9 typedef long TItype;
kono
parents:
diff changeset
10 #endif
kono
parents:
diff changeset
11
kono
parents:
diff changeset
12
kono
parents:
diff changeset
13 TItype
kono
parents:
diff changeset
14 __subvdi3 (TItype a, TItype b)
kono
parents:
diff changeset
15 {
kono
parents:
diff changeset
16 TItype w;
kono
parents:
diff changeset
17
kono
parents:
diff changeset
18 w = a - b;
kono
parents:
diff changeset
19
kono
parents:
diff changeset
20 return w;
kono
parents:
diff changeset
21 }