This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][PR tree-optimization/64823] Handle threading through blocks with PHIs, but no statements
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Jeff Law <law at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 13 Feb 2015 15:01:03 -0800
- Subject: Re: [PATCH][PR tree-optimization/64823] Handle threading through blocks with PHIs, but no statements
- Authentication-results: sourceware.org; auth=none
- References: <54DE6884 dot 9060704 at redhat dot com>
On Fri, Feb 13, 2015 at 1:11 PM, Jeff Law <law@redhat.com> wrote:
> This time with the right patch file.
>
> commit 48087ce0b383457b5919cbcc2ce1a5e1aaa264c3
> Author: Jeff Law <law@redhat.com>
> Date: Fri Feb 13 14:08:06 2015 -0700
>
> PR tree-optimization/64823
> * tree-vrp.c (identify_jump_threads): Handle blocks with no
> statements.
> * tree-ssa-threadedge.c (potentially_threadable_block): Allow
> threading through blocks with PHIs, but no statements.
> (thread_through_normal_block): Distinguish between blocks where
> we did not process all the statements and blocks with no statements.
>
> PR tree-optimization/64823
> gcc.dg/uninit-20.c: New test.
>
This caused:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65060
--
H.J.