summaryrefslogtreecommitdiffstats
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-03-12 00:02:32 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-03-12 00:02:32 +0000
commit0a3ec02af87e4658e3e55b4d54bb5f7bf2cb3da0 (patch)
treeb56e732b1d9c6217591f238cbde9a872a72c2627 /gcc/expr.c
parentc010fb5b068a19bd1738f4ebb9665d4fb35d2762 (diff)
downloadppe42-gcc-0a3ec02af87e4658e3e55b4d54bb5f7bf2cb3da0.tar.gz
ppe42-gcc-0a3ec02af87e4658e3e55b4d54bb5f7bf2cb3da0.zip
* expr.c (expand_expr): Allow a CALL_EXPR with a mode wider than
MAX_INTEGER_COMPUTATION_MODE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25714 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 660bba6e319..c3034c4b802 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -5552,6 +5552,7 @@ expand_expr (exp, target, tmode, modifier)
&& TREE_CODE (exp) != COMPONENT_REF
&& TREE_CODE (exp) != BIT_FIELD_REF
&& TREE_CODE (exp) != INDIRECT_REF
+ && TREE_CODE (exp) != CALL_EXPR
&& TREE_CODE (exp) != VAR_DECL)
{
enum machine_mode mode = GET_MODE (target);
@@ -5568,6 +5569,7 @@ expand_expr (exp, target, tmode, modifier)
&& TREE_CODE (exp) != BIT_FIELD_REF
&& TREE_CODE (exp) != INDIRECT_REF
&& TREE_CODE (exp) != VAR_DECL
+ && TREE_CODE (exp) != CALL_EXPR
&& GET_MODE_CLASS (tmode) == MODE_INT
&& tmode > MAX_INTEGER_COMPUTATION_MODE)
fatal ("unsupported wide integer operation");
OpenPOWER on IntegriCloud