1 /* { dg-do compile { target sqrt_insn } } */ 2 /* { dg-options "-fgimple -O2" } */ 3 /* { dg-add-options sqrt_insn } */ 4 5 double __GIMPLE f1(double x)6f1 (double x) 7 { 8 double res; 9 res = .SQRT (x); 10 return res; 11 } 12 13 void __GIMPLE f2(double x)14f2 (double x) 15 { 16 .SQRT (x); // Dead code 17 } 18