diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-08-29 03:12:01 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-08-29 03:12:01 +0000 |
commit | a11899b21b0a39145ed7baef271461910ed411fb (patch) | |
tree | 6f3793d094dbf335e97488aeb67eea9b90d75095 /gcc/function.c | |
parent | 6c23308e70c4323d4c99e27e0896f4eb33f69714 (diff) | |
download | gcc-a11899b21b0a39145ed7baef271461910ed411fb.zip gcc-a11899b21b0a39145ed7baef271461910ed411fb.tar.gz gcc-a11899b21b0a39145ed7baef271461910ed411fb.tar.bz2 |
re PR bootstrap/62300 (internal compiler error: in as_a, at is-a.h:192)
PR bootstrap/62300
* function.c (assign_parm_setup_reg): Remove erroneous checked
cast to rtx_insn * on result of gen_extend_insn in favor of
introducing a new local rtx "pat".
From-SVN: r214714
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/function.c b/gcc/function.c index dc9c06b..464c6cd 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -3039,10 +3039,9 @@ assign_parm_setup_reg (struct assign_parm_data_all *all, tree parm, } else t = op1; - insn = as_a <rtx_insn *> ( - gen_extend_insn (op0, t, promoted_nominal_mode, - data->passed_mode, unsignedp)); - emit_insn (insn); + rtx pat = gen_extend_insn (op0, t, promoted_nominal_mode, + data->passed_mode, unsignedp); + emit_insn (pat); insns = get_insns (); moved = true; |