This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix ICE with -Wuninitialized (PR tree-optimization/78455)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Marek Polacek <polacek at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Aldy Hernandez <aldyh at redhat dot com>
- Date: Tue, 22 Nov 2016 08:49:35 +0100
- Subject: Re: [PATCH] Fix ICE with -Wuninitialized (PR tree-optimization/78455)
- Authentication-results: sourceware.org; auth=none
- References: <20161122000240.GW3646@redhat.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Mon, Nov 21, 2016 at 04:02:40PM -0800, Marek Polacek wrote:
> What seems like a typo caused an ICE here. We've got a vector of vectors here
> and we're trying to walk all the elements, so the second loop oughta use 'j'.
>
> Bootstrapped/regtested on x86_64-linux, ok for trunk?
>
> 2016-11-21 Marek Polacek <polacek@redhat.com>
>
> PR tree-optimization/78455
> * tree-ssa-uninit.c (can_chain_union_be_invalidated_p): Fix typo.
>
> * gcc.dg/uninit-23.c: New.
I'd say this is even obvious. Ok.
Jakub