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]

Re: [PATCH] PR optimization/11741: PRE multiple sets in a PARALLEL


On Tue, Sep 02, 2003 at 04:15:04PM -0600, Roger Sayle wrote:
> Unfortunately there's a mismatch.  The code in hash_scan_insn that
> places available expressions in the expr hash table is happy to deal
> with parallels containg multiple sets.

This is the bug, because the code in the middle that does 
the LCM isn't happy to deal with this.  Indeed, afaik it'll
treat the two expressions separately, and may decide to put
them in different places.  Which is not cool.

Thus changing pre_insert_copy_insn is exactly wrong.


r~


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