Debian Codegraph @

gcc/testsuite/gcc.dg/type-convert-var.c

raw
1 /* { dg-do compile } */
2 /* { dg-additional-options "-fexcess-precision=fast -O1 -fdump-tree-optimized" } */
3 /* { dg-require-effective-target double64plus } */
4
5 void foo (float a, float b, float *c)
6 {
7 double e = (double)a * (double)b;
8 *c = (float)e;
9 }
10
11 /* { dg-final { scan-tree-dump-not {double} "optimized" } } */