2018-04-09 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / uninit-C.c
bloba22f0d78dae253eca9b2c80c15b2b658799c95e9
1 /* Spurious uninitialized variable warning, inspired by libgcc2.c. */
2 /* { dg-do compile } */
3 /* { dg-options "-O -Wuninitialized" } */
5 /* Not all platforms support TImode integers. */
6 #if (defined(__LP64__) && !defined(__hppa__)) || defined(__SPU__)
7 typedef int TItype __attribute__ ((mode (TI)));
8 #else
9 typedef long TItype;
10 #endif
13 TItype
14 __subvdi3 (TItype a, TItype b)
16 TItype w;
18 w = a - b;
20 return w;