summaryrefslogtreecommitdiff
path: root/gcc/config/mep/mep-pragma.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/mep/mep-pragma.c')
-rw-r--r--gcc/config/mep/mep-pragma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/mep/mep-pragma.c b/gcc/config/mep/mep-pragma.c
index 8a9c577f5a9..1a4cfee8909 100644
--- a/gcc/config/mep/mep-pragma.c
+++ b/gcc/config/mep/mep-pragma.c
@@ -232,7 +232,7 @@ mep_pragma_coprocessor_width (void)
switch (type)
{
case CPP_NUMBER:
- if (! host_integerp (val, 1))
+ if (! tree_fits_uhwi_p (val))
break;
i = tree_low_cst (val, 1);
/* This pragma no longer has any effect. */