This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] RFC: Fix GCSE bug optimization/11440 (3.3 regression)
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Cc: Andrew Pinski <pinskia at physics dot uc dot edu>, Mark Mitchell <mark at codesourcery dot com>, gcc-patches at gcc dot gnu dot org, Roger Sayle <roger at www dot eyesopen dot com>, law at redhat dot com
- Date: Mon, 14 Jul 2003 11:29:18 -0400
- Subject: Re: [PATCH] RFC: Fix GCSE bug optimization/11440 (3.3 regression)
Committed.
I switched myself into RTL->C converter mode and managed to create a
small
ugly looking C testcase that shows the bug on powerpc-linux-gnu when
executed.
OK to commit to mainline and branch?
Franz.
PR optimization/11440
* gcc.c-torture/execute/20030714-1.c: New testcase.
<20030714-1.c>
The test contains invalid code (jumps inside a statement expression to
the
outside should be invalid code, there is a PR for documentation on what
is
invalid, this code might fail on the tree-ssa branch because of those
gotos).
({
({
tmp = this->m_positioned;
goto l0;
0;
});
l0:
0;
});
I would change this to be just:
tmp = this->m_positioned;
Thanks,
Andrew Pinski