This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Bug in reload_cse_move2add()
- To: rearnsha at arm dot com
- Subject: Re: Bug in reload_cse_move2add()
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 19 Jan 2001 14:23:45 -0200
- Cc: Richard Henderson <rth at redhat dot com>, Joern Rennecke <amylaar at redhat dot com>, Richard Earnshaw <rearnsha at buzzard dot freeserve dot co dot uk>, gcc-patches at gcc dot gnu dot org, law at redhat dot com
- Organization: GCC Team, Red Hat
- References: <200101191038.KAA27263@cam-mail2.cambridge.arm.com>
On Jan 19, 2001, Richard Earnshaw <rearnsha@arm.com> wrote:
>> On Wed, Jan 17, 2001 at 02:42:27PM -0200, Alexandre Oliva wrote:
>> > * rtlanal.c (note_stores): Turn (cond_exec t (set x y)) into
>> > (set x (if_then_else t y x)).
>>
>> I hate it.
I'm glad we agree on this one. It was just a stupid idea :-)
> it's also wrong, since if_then_else has different meaning for side-effect
> in a false arm.
Indeed.
I guess we should just pass down the whole cond_exec.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me