This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR69195, Reload confused by invalid reg equivs
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Alan Modra <amodra at gmail dot com>
- Cc: Andreas Schwab <schwab at linux-m68k dot org>, Bernd Schmidt <bschmidt at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Sat, 12 Mar 2016 08:58:21 +0100
- Subject: Re: [PATCH] PR69195, Reload confused by invalid reg equivs
- Authentication-results: sourceware.org; auth=none
- References: <20160304145430 dot GD9617 at bubble dot grove dot modra dot org> <56D9C86A dot 8050302 at redhat dot com> <20160307144656 dot GF9617 at bubble dot grove dot modra dot org> <20160310091808 dot GO9617 at bubble dot grove dot modra dot org> <877fh8ycip dot fsf at linux-m68k dot org> <20160311221624 dot GB16812 at bubble dot grove dot modra dot org> <20160311231350 dot GC16812 at bubble dot grove dot modra dot org>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Sat, Mar 12, 2016 at 09:43:50AM +1030, Alan Modra wrote:
> The underlying problem happens somewhere in tree-ssa-dse.c. So we get
> an indirect jump to a random location instead of a jump to 0.
Well, the testcase is there just to make sure we don't ICE on it.
And, changing just DSE can't be a complete solution, because one can use
uninitialized var from the beginning:
int
foo (void)
{
int x;
goto *&x;
}
Jakub