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 06:16:00 -0000	[thread overview]
Message-ID: <20010625131601.21494.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: mmitchel@gcc.gnu.org
Cc: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org
Subject: Re: optimization/2938: [Regression vs 2.95] Optimization with -O1
 causes near infinite time
Date: Mon, 25 Jun 2001 14:59:57 +0200 (MET DST)

 > State-Changed-From-To: analyzed->closed
 >     Fixed.
 
 Dear Mark,
 thanks for looking into it. However, in the 3.0 release your fix seems to
 not be working: for c++615, which is kind of a small form of
 optimization/2938, I still get 1009 calls to Point::operator() (which is,
 as you said, not only a problem of optimization, but also a correctness
 issue as the operator is not marked constant). This is both on Sun
 Solaris2.7 and Linux.
 
 Optimization/2938 still takes infintely long. I double checked, but my
 gcc3 sources have your patch to the problem incorporated. Do you know what
 is going on?
 
 Regards
   Wolfgang
 
 var/gcc-bugs> c++ -v
   Reading specs from
   /home/people/wolf/Config/gcc-ss-sun/lib/gcc-lib/sparc-sun-solaris2.7/3.0/specs
   Configured with: ../gcc-3.0/configure
   --prefix=/home/people/wolf/Config/gcc-ss-sun --with-gnu-as
   --with-as=/usr/local/bin/as --with-gnu-ld --with-ld=/usr/local/bin/ld
   Thread model: posix
   gcc version 3.0
 var/gcc-bugs> c++ -O1 -S 0615+.cc
 var/gcc-bugs> cat 0615+.s | c++filt | grep operator | uniq
         call    Point::operator()(unsigned), 0
 var/gcc-bugs> cat 0615+.s | c++filt | grep operator | wc -l
    1009
 
 
 -------------------------------------------------------------------------
 Wolfgang Bangerth          email: wolfgang.bangerth@iwr.uni-heidelberg.de
                              www: http://gaia.iwr.uni-heidelberg.de/~wolf
 
 
 


             reply	other threads:[~2001-06-25  6:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-25  6:16 Wolfgang Bangerth [this message]
2001-06-25 23:46 Wolfgang Bangerth
2001-07-02  7:26 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=20010625131601.21494.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: 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).