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]

Re: Bug in reload_cse_move2add()


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

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