summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr23470-1.c
blob: 2ddf6f2f22f6d50ef8dc47a01ee6f13e4c2d3f6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR middle-end/23470 */
/* { dg-do compile } */
/* { dg-options "-O2 -ffast-math -fdump-tree-original" } */

int f(double a, double b)
{
  if (((a*a) + (b*b))<0)
    link_error();
}

/* { dg-final { scan-tree-dump-times "if \\(0\\)" 1 "original" } } */
/* { dg-final { cleanup-tree-dump "original" } } */