This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Fix PR rtl-optimization/60651
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Joern Rennecke <joern dot rennecke at embecosm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 26 Mar 2014 09:15:33 +0100
- Subject: Re: RFA: Fix PR rtl-optimization/60651
- Authentication-results: sourceware.org; auth=none
- References: <CAMqJFCpayTBBxJ51qfPLFtTAx-vrikDCei3TJ793Q03v0fj10w at mail dot gmail dot com>
> As described in the PR, this patch fixes a wrong-code bug by making the
> order of emitted mode switching instructions more consistet & predictable.
I don't understand this change (but I'm not a specialist of mode switching):
currently the mode setting sequence is always emitted before the insns that
need it but, with the change, if an insn right after a NOTE_BASIC_BLOCK note
needs it, if will be emitted either before it (if insn_ptr is the insn) or
after it (if insn_ptr is the NOTE_BASIC_BLOCK note).
--
Eric Botcazou