[PATCH] Fix bug in hoisting when using -fgcse-las
Maxim Kuvyrkov
maxim@codesourcery.com
Wed Jul 28 16:31:00 GMT 2010
This patch fixes http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45107 .
The problem is due to mismatch in max_distance values for the same
expression when it is processed on the LHS versus the RHS.
More specifically, the problem due to me not including -fgcse-las in the
testing of hoisting improvements patches.
The attached patch fixes the bug. It was tested by bootstrapping GCC
with -fgcse-las in BOOT_CFLAGS.
OK to apply?
--
Maxim Kuvyrkov
CodeSourcery
maxim@codesourcery.com
(650) 331-3385 x724
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fsf-gcc-pr45107.ChangeLog
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100728/de158b48/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fsf-gcc-pr45107.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100728/de158b48/attachment-0001.ksh>
More information about the Gcc-patches
mailing list