This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 225/236] Work towards NEXT_INSN/PREV_INSN requiring insns as their params
- From: Richard Henderson <rth at redhat dot com>
- To: David Malcolm <dmalcolm at redhat dot com>, "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Jeff Law <law at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 28 Aug 2014 18:02:19 -0700
- Subject: Re: [PATCH 225/236] Work towards NEXT_INSN/PREV_INSN requiring insns as their params
- Authentication-results: sourceware.org; auth=none
- References: <1407345815-14551-1-git-send-email-dmalcolm at redhat dot com> <1407345815-14551-226-git-send-email-dmalcolm at redhat dot com> <53F3BA30 dot 4050301 at redhat dot com> <1408484146 dot 2473 dot 128 dot camel at surprise> <53FB4743 dot 5030103 at redhat dot com> <1409073313 dot 24896 dot 42 dot camel at surprise> <CAMe9rOqCt0o3wj3QoLQg3Mp-fYL0-=10Ah5C-==UwDc0FtDRag at mail dot gmail dot com> <1409273237 dot 31600 dot 5 dot camel at surprise>
On 08/28/2014 05:47 PM, David Malcolm wrote:
> - 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);
Certainly ok.
r~