1 /* Uninitialized variable warning tests...
2 Inspired by part of optabs.c:expand_binop.
3 May be the same as uninit-1.c. */
5 /* { dg-do compile } */
6 /* { dg-options "-Wuninitialized" } */
11 add_bignums (int *out
, int *x
, int *y
)
14 int carry
; /* { dg-bogus "carry" "uninitialized variable warning" } */
17 for (; *x
; x
++, y
++, out
++, p
++)
20 sum
= *x
+ *y
+ carry
;