PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / pr83723.c
bloba64fe9b56b9edb6e0b5fe92dc3496825cbfb41a8
1 /* PR rtl-optimization/83723 */
2 /* { dg-do compile } */
3 /* { dg-options "-g -O2" } */
4 /* { dg-additional-options "-mfpmath=sse -msse2" { target i?86-*-* x86_64-*-* } } */
5 /* { dg-additional-options "-fpie" { target pie } } */
7 int foo (void);
8 float bar (float);
9 int *v;
11 void
12 baz (void)
14 float a = bar (0.0);
15 bar (a);
16 if (v)
17 bar (1.0);
18 if (a < 1.0)
19 a = foo () / a;