summaryrefslogtreecommitdiff
path: root/gcc/config/alpha/predicates.md
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/alpha/predicates.md')
-rw-r--r--gcc/config/alpha/predicates.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/alpha/predicates.md b/gcc/config/alpha/predicates.md
index a63d1254a6f..8a2166c1e03 100644
--- a/gcc/config/alpha/predicates.md
+++ b/gcc/config/alpha/predicates.md
@@ -357,7 +357,7 @@
&& !SYMBOL_REF_TLS_MODEL (op))
{
if (SYMBOL_REF_DECL (op))
- max_ofs = tree_low_cst (DECL_SIZE_UNIT (SYMBOL_REF_DECL (op)), 1);
+ max_ofs = tree_to_uhwi (DECL_SIZE_UNIT (SYMBOL_REF_DECL (op)));
}
else
return false;