PLEASE REPLY TO [EMAIL PROTECTED] ONLY, *NOT* [EMAIL PROTECTED]

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11052



------- Additional Comments From [EMAIL PROTECTED]  2003-06-06 17:23 -------
Subject: Re:  [3.3 regression] [arm] ICE (segfault) 
 compiling xfree86

> 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  <[EMAIL PROTECTED]>

        PR target/11052
        * ifcvt.c (noce_process_if_block): Fail if the destination has
        side-effects.

2003-06-06  Richard Earnshaw  <[EMAIL PROTECTED]>

        gcc.c-torture/execute/20030606-1.c: New.



------- Additional Comments From [EMAIL PROTECTED]  2003-06-06 17:23 -------
Created an attachment (id=4183)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4183&action=view)




------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.


Reply via email to