public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12559] New: Infinite compilation on invalid C++ code
@ 2003-10-09 22:15 falk at debian dot org
  2003-10-09 23:16 ` [Bug c++/12559] long time to fail out compiling invalid c++ pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: falk at debian dot org @ 2003-10-09 22:15 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12559

           Summary: Infinite compilation on invalid C++ code
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: falk at debian dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: alphaev68-unknown-linux-gnu
  GCC host triplet: alphaev68-unknown-linux-gnu
GCC target triplet: alphaev68-unknown-linux-gnu

falk@juist:/tmp% cat loop1.cc

template<typename A> class C;
template<typename T, typename A = C<T> >
class V { V<A> v; };
class F { V<F> v; };

falk@juist:/tmp% g++-3.3 -c loop1.cc

[hangs]


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/12559] long time to fail out compiling invalid c++
  2003-10-09 22:15 [Bug c++/12559] New: Infinite compilation on invalid C++ code falk at debian dot org
@ 2003-10-09 23:16 ` pinskia at gcc dot gnu dot org
  2003-12-28 22:09 ` pinskia at gcc dot gnu dot org
  2004-01-03 13:47 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-09 23:16 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12559


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |compile-time-hog
   Last reconfirmed|0000-00-00 00:00:00         |2003-10-09 23:16:02
               date|                            |
            Summary|Infinite compilation on     |long time to fail out
                   |invalid C++ code            |compiling invalid c++


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-09 23:15 -------
Actually this is not an Infinite loop but the time to find out that the "template instantiation depth 
exceeds maximum of " (the high number for 3.x where x is not 0) is just a long time.  This is might 
be a dup of another bug also.  I am not going to mark this as a regression even though the max 
"template instantiation depth" was lower for 3.0.4 (50) or 2.95.3 (17) and it reject this code very 
fast (except they both ICE at the end).


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/12559] long time to fail out compiling invalid c++
  2003-10-09 22:15 [Bug c++/12559] New: Infinite compilation on invalid C++ code falk at debian dot org
  2003-10-09 23:16 ` [Bug c++/12559] long time to fail out compiling invalid c++ pinskia at gcc dot gnu dot org
@ 2003-12-28 22:09 ` pinskia at gcc dot gnu dot org
  2004-01-03 13:47 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-28 22:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-28 21:38 -------
It is not that bad any more:
18.010u 0.030s 0:22.91 78.7%    0+0k 0+0io 688pf+0w

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12559


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/12559] long time to fail out compiling invalid c++
  2003-10-09 22:15 [Bug c++/12559] New: Infinite compilation on invalid C++ code falk at debian dot org
  2003-10-09 23:16 ` [Bug c++/12559] long time to fail out compiling invalid c++ pinskia at gcc dot gnu dot org
  2003-12-28 22:09 ` pinskia at gcc dot gnu dot org
@ 2004-01-03 13:47 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-03 13:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-03 13:47 -------
Fixed for 3.4.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |3.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12559


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-01-03 13:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-09 22:15 [Bug c++/12559] New: Infinite compilation on invalid C++ code falk at debian dot org
2003-10-09 23:16 ` [Bug c++/12559] long time to fail out compiling invalid c++ pinskia at gcc dot gnu dot org
2003-12-28 22:09 ` pinskia at gcc dot gnu dot org
2004-01-03 13:47 ` pinskia at gcc dot gnu dot org

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