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] |
> On Tue, Jun 03, 2003 at 05:52:16PM +0100, Richard Earnshaw wrote: > > Is it guaranteed that noce_emit_move_insn will emit exactly one insn? > > No. > > In that case, and given that on further review of the source it becomes apparent that two of the three variants handled by noce_process_if_block lead to invalid code if X has side effects, I think it's easier to just disable this optimization for that case. So fixed with: 2003-06-06 Richard Earnshaw <rearnsha@arm.com> PR target/11052 * ifcvt.c (noce_process_if_block): Fail if the destination has side-effects. 2003-06-06 Richard Earnshaw <rearnsha@arm.com> gcc.c-torture/execute/20030606-1.c: New.
Attachment:
noce_sideeffect.patch
Description: noce_sideeffect.patch
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |