This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix bug in hoisting when using -fgcse-las
- From: Jeff Law <law at redhat dot com>
- To: Maxim Kuvyrkov <maxim at codesourcery dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 28 Jul 2010 10:45:15 -0600
- Subject: Re: [PATCH] Fix bug in hoisting when using -fgcse-las
- References: <4C505746.5010707@codesourcery.com>
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