summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr46171.c
blob: f43cab025bd8e8d6a31496b108cf77c9910cff06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR debug/46171 */
/* { dg-do compile } */
/* { dg-options "-O -fno-tree-dce -g" } */

double bard ();
float barf (float);

void
foo (float f)
{
  f = barf (f);
  double d = bard ();
}