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 PR81620]Don't set has_max_use_after flag for store-store chain


On Mon, Jul 31, 2017 at 4:12 PM, Bin Cheng <Bin.Cheng@arm.com> wrote:
> Hi,
> This simple patch fixes the ICE by not setting has_max_use_after flag for
> store-store chain because there is no use at all.
> Bootstrap and test on x86_64 and AArch64 ongoing.  Is it OK if no failure?

Ok.

Richard.

> Thanks,
> bin
> 2017-07-31  Bin Cheng  <bin.cheng@arm.com>
>
>         PR tree-optimization/81620
>         * tree-predcom.c (add_ref_to_chain): Don't set has_max_use_after
>         for store-store chain.
>
> gcc/testsuite/ChangeLog
> 2017-07-31  Bin Cheng  <bin.cheng@arm.com>
>
>         PR tree-optimization/81620
>         * gcc.dg/tree-ssa/pr81620-1.c: New.
>         * gcc.dg/tree-ssa/pr81620-2.c: New.


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