Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr78605.c
blob141a12c3fd1f4d2b82558ba621d30b4887790ef8
1 /* PR middle-end/78605 - bogus -Wformat-overflow=1 with %f
2 { dg-do compile }
3 { dg-options "-O2 -Wall -Wextra -Wformat-overflow=1" } */
5 char d[10];
7 int f (int i)
9 return __builtin_sprintf (d, "%i %i", i, i);
12 int g (float f)
14 return __builtin_sprintf (d, "%.2f %.2f", f, f);