aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/uninit-C.c
blob: c81ada4abfcdbc7f3511c650698ca067df645e50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Spurious uninitialized variable warning, inspired by libgcc2.c.  */
/* { dg-do compile } */
/* { dg-options "-O -Wuninitialized" } */

typedef int TItype __attribute__ ((mode (TI)));

TItype
__subvdi3 (TItype a, TItype b)
{
  TItype w;
  
  w = a - b;
  
  return w;
}