1 /* { dg-do compile } */
2 /* { dg-options "-O3" } */
3 
4 /* a is not used after the comparison.  So we should use load and test
5    here.  */
6 
7 double gl;
8 
9 void
bar(double a)10 bar (double a)
11 {
12   if (a == 0.0)
13     gl = 1;
14 }
15 
16 /* { dg-final { scan-assembler "ltdbr\t" } } */
17