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]

[PATCH] Fix bug in hoisting when using -fgcse-las


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

Attachment: fsf-gcc-pr45107.ChangeLog
Description: Text document

Attachment: fsf-gcc-pr45107.patch
Description: Text document


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