public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de> To: mmitchel@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: optimization/2938: [Regression vs 2.95] Optimization with -O1causes near infinite time Date: Mon, 25 Jun 2001 23:46:00 -0000 [thread overview] Message-ID: <20010626064603.6055.qmail@sourceware.cygnus.com> (raw) The following reply was made to PR optimization/2938; it has been noted by GNATS. From: Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de> To: Mark Mitchell <mark@codesourcery.com> Cc: "gcc-bugs@gcc.gnu.org" <gcc-bugs@gcc.gnu.org>, gcc-gnats@gcc.gnu.org Subject: Re: optimization/2938: [Regression vs 2.95] Optimization with -O1 causes near infinite time Date: Tue, 26 Jun 2001 08:42:01 +0200 (MET DST) > >> State-Changed-From-To: analyzed->closed > >> Fixed. > > > > Dear Mark, > > thanks for looking into it. > > I will investigate. You may want to use the appended tiny program for the regression test suite or for debugging. If it helps, I can as well file another bug report with a more suitable name (please propose one) so that c++/615 and optimization/2938 can be closed. Regards Wolfgang ----------------------------------------- // compile with -O1 #include <assert.h> // assert that foo() is only called once int count = 0; double foo () { count++; return 0; }; double bar () { const double x[1] = { foo() }; return x[0]; }; int main () { bar(); assert (count == 1); }; ------------------------------------------------------------------------- Wolfgang Bangerth email: wolfgang.bangerth@iwr.uni-heidelberg.de www: http://gaia.iwr.uni-heidelberg.de/~wolf
next reply other threads:[~2001-06-25 23:46 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-06-25 23:46 Wolfgang Bangerth [this message] -- strict thread matches above, loose matches on Subject: below -- 2001-07-02 7:26 Wolfgang Bangerth 2001-06-25 6:16 Wolfgang Bangerth
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=20010626064603.6055.qmail@sourceware.cygnus.com \ --to=wolfgang.bangerth@iwr.uni-heidelberg.de \ --cc=gcc-prs@gcc.gnu.org \ --cc=mmitchel@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: linkBe 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).