This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: Fix PR rtl-optimization/60651


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]