public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/10558: [3.3 regression] Segfault on illegal use of template without template args
@ 2003-04-30  1:11 bangerth
  0 siblings, 0 replies; only message in thread
From: bangerth @ 2003-04-30  1:11 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, smueller

Old Synopsis: ICE in c_expand_expr in  c-common.c:3715
New Synopsis: [3.3 regression] Segfault on illegal use of template without template args

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Wed Apr 30 01:11:21 2003
State-Changed-Why:
    Confirmed. Though the error happens even earlier (in a 
    tree check function) if checking is enabled. Here's a
    smaller testcase:
    --------------------------
    namespace NS {
      template <typename> struct C {
          template <typename U> C (U);
      };
    
      struct X {
          X(C<int>);
      };
    }
    
    NS::X x(NS::C);
    --------------------------
    It crashes 3.3 as follows:
    g/x> /home/bangerth/bin/gcc-3.3-pre/bin/c++ -c x.cc
    x.cc:11: internal compiler error: Segmentation fault
    Please submit a full bug report,
    
    3.4 gives a useful error message on this as well as the
    original testcase. 2.95 crashes on this one, but it doesn't
    crash on the original testcase, so this is a 3.3 (not 3.4)
    regression.
    
    W.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10558


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

only message in thread, other threads:[~2003-04-30  1:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-30  1:11 c++/10558: [3.3 regression] Segfault on illegal use of template without template args 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).