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 bug in hoisting when using -fgcse-las


On 07/28/10 10:13, Maxim Kuvyrkov wrote:
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.
Jeff


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