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: [Patch] Fix to reload1.c's reload_cse_move2add.



Toon Moene <toon@moene.indiv.nluug.nl> writes:

> This is a multi-part message in MIME format.
> --------------CBD65685E6FEB544448CD6A1
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> 
> Not as much fun as the LO_SUM discussion, but a fix for a problem that's
> just as much wrong.

But has it been silently wrong for 11 years?  :-)

> 2001-07-09  Toon Moene  <toon@moene.indiv.nluug.nl>
> 
> 	* expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
> 	* optabs.c (have_add2_insn): Check whether the add insn chosen
> 	really accepts the operands.  (have_sub2_insn): Ditto for sub insn.
> 	* reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.

You didn't say on which platform you bootstrapped it.

Are there really no users of have_sub2_insn?  That seems odd...  Oh well.

Assuming it passes bootstrap & test on some platform, this is OK.

-- 
- Geoffrey Keating <geoffk@geoffk.org>


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