rt_gccstream/gcc/testsuite/gcc.dg/uninit-C.c

22 lines
401 B
C

/* Spurious uninitialized variable warning, inspired by libgcc2.c. */
/* { dg-do compile } */
/* { dg-options "-O -Wuninitialized" } */
/* Not all platforms support TImode integers. */
#if defined(__LP64__) && !defined(__hppa__)
typedef int TItype __attribute__ ((mode (TI)));
#else
typedef long TItype;
#endif
TItype
__subvdi3 (TItype a, TItype b)
{
TItype w;
w = a - b;
return w;
}