This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Middle-end and optimization regressions: what should we do?
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: François-Xavier Coudert <fxcoudert at gmail dot com>
- Cc: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc at gcc dot gnu dot org
- Date: Thu, 28 Jul 2005 14:02:58 -0400
- Subject: Re: Middle-end and optimization regressions: what should we do?
- References: <19c433eb0507281026355950aa@mail.gmail.com>
On Thu, 2005-07-28 at 19:26 +0200, François-Xavier Coudert wrote:
> Hi all,
>
> PR 22619 and PR 22509 are two examples of recent 4.1 regressions that
> showed up in gfortran, due to middle-end or optimization bugs (only
> happen at -O3). Since these are regressions, they should be treated
> before a long time passes, but since both source codes are Fortran, I
> guess people don't (and won't) want to look at them.
I was getting these failures before my patch that added eustores, and
kenny was responsible for regtesting the tree for the ipa-* patches :)
(I always bootstrap and regtest with fortran on).
> PS: PR 22619 appeared somewhere between 20050716 and 20050717, so
> patches that could possible have messed up are:
The culprit in this case is indirectly the patch that added
ipa-reference AFAICT. -fno-ipa-reference seems to fix the bug on my
computer, see if it helps you too.
No clue why.
Given that it happens after CSE, I imagine it's enabling CSE to
eliminate something it didn't expect to be able to eliminate.