summaryrefslogtreecommitdiff
path: root/gcc/config/mep
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/mep')
-rw-r--r--gcc/config/mep/mep-pragma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/mep/mep-pragma.c b/gcc/config/mep/mep-pragma.c
index 1a4cfee8909..45a4b4496a4 100644
--- a/gcc/config/mep/mep-pragma.c
+++ b/gcc/config/mep/mep-pragma.c
@@ -234,7 +234,7 @@ mep_pragma_coprocessor_width (void)
case CPP_NUMBER:
if (! tree_fits_uhwi_p (val))
break;
- i = tree_low_cst (val, 1);
+ i = tree_to_uhwi (val);
/* This pragma no longer has any effect. */
#if 0
if (i == 32)
@@ -273,7 +273,7 @@ mep_pragma_coprocessor_subclass (void)
type = mep_pragma_lex (&val);
if (type != CPP_CHAR)
goto syntax_error;
- class_letter = tree_low_cst (val, 1);
+ class_letter = tree_to_uhwi (val);
if (class_letter >= 'A' && class_letter <= 'D')
switch (class_letter)
{