public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: optimization/8391: [regression] infinite loop in cp/decl2.c(finish_file)
@ 2002-10-29 10:36 Wolfgang Bangerth
  0 siblings, 0 replies; only message in thread
From: Wolfgang Bangerth @ 2002-10-29 10:36 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR optimization/8391; it has been noted by GNATS.

From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: gcc-bugs@gcc.gnu.org, <gcc-gnats@gcc.gnu.org>
Cc:  
Subject: Re: optimization/8391: [regression] infinite loop in cp/decl2.c(finish_file)
Date: Tue, 29 Oct 2002 12:31:04 -0600 (CST)

 Ack, somehow gnats only picked up my name change, but not the analysis:
 
 Confirmed with both 3.2.1pre and CVS. The infinite loop 
 appears in cp/decl2.c(finish_file), in the 
 do...while(reconsider) loop. "reconsider" is continuously 
 re-set to 1 in line 3512 (in the 3.2.1 branch).
 
 A smaller, self-contained example is this:
 --------------------------------
 struct Outer {
     struct Inner { virtual bool f() = 0; };
     void g(Inner &) const;
 };
 
 
 inline void h(const Outer &o)
 {
   struct Local : public Outer::Inner {
       virtual bool f() {};
   };
   Local l;
   o.g(l);
 }
 
 
 void f(Outer &req) {
   h (req);
 }
 
 
 -------------------------------------------------------------------------
 Wolfgang Bangerth              email:           bangerth@ticam.utexas.edu
                                www: http://www.ticam.utexas.edu/~bangerth
 
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-29 18:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-29 10:36 optimization/8391: [regression] infinite loop in cp/decl2.c(finish_file) Wolfgang Bangerth

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).