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] Fix PR28545, wrong-code due to operand scanner


On Sat, 2006-10-14 at 17:02 +0200, Richard Guenther wrote:
> On the 4.1 branch the operand scanner re-orders operands sometimes (sic!).
> This appearantly badly interacts with updating of immediate uses.  Fixed
> by adjusting the code to not re-oder operands, like we do on the mainline.

This is the wrong fix.

The problem is not operand scanner but instead the immediate-use
iterators are not working correctly on the 4.1 branch.

See:
http://gcc.gnu.org/ml/gcc-patches/2006-03/msg01472.html

In fact the above patch should be applied also and a patch like that to
the VRP.

-- Pinski


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