public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Andrew Pinski <pinskia@physics.uc.edu>
To: fxcoudert@gmail.com
Cc: fortran@gcc.gnu.org (fortran@gcc.gnu.org), gcc@gcc.gnu.org
Subject: Re: Middle-end and optimization regressions: what should we do?
Date: Thu, 28 Jul 2005 19:48:00 -0000	[thread overview]
Message-ID: <200507281947.j6SJlxcX015941@earth.phy.uc.edu> (raw)
In-Reply-To: <19c433eb0507281026355950aa@mail.gmail.com>

> 
> 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.
> 
> How can we help here? Is there a way to make gfortran output a
> complete GIMPLE tree, that could be used for middle-end hackers to
> determine where the problem is? Or are we doomed to a dichotomy to
> know which patch caused these regressions?
> 
> FX
> 
> PS: PR 22619 appeared somewhere between 20050716 and 20050717, so
> patches that could possible have messed up are:

Patch which exposed it:
> 2005-07-16 Danny Berlin <dberlin@dberlin.org>
>            Kenneth Zadeck <zadeck@naturalbridge.com>

Kenny's patch exposed the latent bug.  I attached a testcase to RR
22619 showing that it is a regression from 3.2.3 and it fails in
3.3 and up.  Kenny's patch changes a static variable to a static
const variable which gets "inlined".





> PR 22509 appeared between 20050713 and 20050714, so possible guilty patches are:

this was caused exposed by:
2005-07-12  Zdenek Dvorak  <dvorakz@suse.cz>

        PR rtl-optimization/20376
        * toplev.c (process_options): Enable -fweb and -frename-registers when
        unrolling.
        * doc/invoke.texi: Update the information about when -fweb and
        -frename-registers are enabled.

Thanks,
Andrew Pinski

      parent reply	other threads:[~2005-07-28 19:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-28 17:26 François-Xavier Coudert
2005-07-28 17:41 ` Steve Kargl
2005-07-28 22:38   ` Janis Johnson
2005-07-28 18:03 ` Daniel Berlin
2005-07-28 19:48 ` Andrew Pinski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200507281947.j6SJlxcX015941@earth.phy.uc.edu \
    --to=pinskia@physics.uc.edu \
    --cc=fortran@gcc.gnu.org \
    --cc=fxcoudert@gmail.com \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).