summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/opt/copysign-1.C
blob: 347bec26e7d83c0adfbc9cc288e9370b6321fd9f (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-options "-O2" }
// { dg-do compile }
// PR rtl-opt/27883
// MIPS used to ICE because local flow update
// was not removing an invalid REG_DEAD.


double copysign (double x, double y);
double GetDouble();
double a = copysign (1.0, GetDouble());