summaryrefslogtreecommitdiff
path: root/gcc/cprop.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cprop.c')
-rw-r--r--gcc/cprop.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cprop.c b/gcc/cprop.c
index 29495e000df..0d3e1f9e09c 100644
--- a/gcc/cprop.c
+++ b/gcc/cprop.c
@@ -41,7 +41,6 @@ along with GCC; see the file COPYING3. If not see
#include "cselib.h"
#include "intl.h"
#include "obstack.h"
-#include "timevar.h"
#include "tree-pass.h"
#include "hashtab.h"
#include "df.h"
@@ -1328,7 +1327,7 @@ implicit_set_cond_p (const_rtx cond)
the optimization can't be performed. */
/* ??? The complex and vector checks are not implemented yet. We just
always return zero for them. */
- if (GET_CODE (cst) == CONST_DOUBLE)
+ if (CONST_DOUBLE_AS_FLOAT_P (cst))
{
REAL_VALUE_TYPE d;
REAL_VALUE_FROM_CONST_DOUBLE (d, cst);