* c-c++-common/ubsan/float-cast-overflow-6.c: Add i?86-*-* target.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr21032.c
blob839a180cead2e2250214716ac28d72b204d2a136
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-optimized -frounding-math" } */
4 void bar(float x);
5 void foo(double x)
7 bar(-x);
10 /* { dg-final { scan-tree-dump-not "-\\(float\\)" "optimized" } } */
11 /* { dg-final { cleanup-tree-dump "optimized" } } */