public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/9727: [3.3 regression] ICE in pushclass() with template and conversion operator
@ 2003-02-21 21:48 mmitchel
  0 siblings, 0 replies; 3+ messages in thread
From: mmitchel @ 2003-02-21 21:48 UTC (permalink / raw)
  To: bangerth, gcc-bugs, gcc-prs, nobody

Synopsis: [3.3 regression] ICE in pushclass() with template and conversion operator

State-Changed-From-To: analyzed->closed
State-Changed-By: mmitchel
State-Changed-When: Fri Feb 21 21:48:42 2003
State-Changed-Why:
    Fixed in GCC 3.3.

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


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

* Re: c++/9727: [3.3 regression] ICE in pushclass() with template and conversion operator
@ 2003-02-17 23:55 bangerth
  0 siblings, 0 replies; 3+ messages in thread
From: bangerth @ 2003-02-17 23:55 UTC (permalink / raw)
  To: bangerth, gcc-bugs, gcc-prs, nobody

Synopsis: [3.3 regression] ICE in pushclass() with template and conversion operator

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Mon Feb 17 23:55:25 2003
State-Changed-Why:
    Confirming own report.

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


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

* c++/9727: [3.3 regression] ICE in pushclass() with template and conversion operator
@ 2003-02-17 16:16 bangerth
  0 siblings, 0 replies; 3+ messages in thread
From: bangerth @ 2003-02-17 16:16 UTC (permalink / raw)
  To: gcc-gnats


>Number:         9727
>Category:       c++
>Synopsis:       [3.3 regression] ICE in pushclass() with template and conversion operator
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 17 16:16:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Wolfgang Bangerth
>Release:        unknown-1.0
>Organization:
>Environment:
3.3 branch
>Description:
This ICEs on the 3.3 branch, but not with 3.2.2 or present
mainline:
-----------------------------
template <class T> struct X {
    typedef int type;
};

template <class T> struct O {
    struct I {
        operator typename X<T>::type ();
    };
};

template <class T>
O<T>::I::operator typename X<T>::type () {}
------------------------------------------

g/x> /home/bangerth/bin/gcc-3.3-pre/bin/c++ -c y.cc
y.cc:12: internal compiler error: Segmentation fault
Please submit a full bug report,

I double checked: this doesn't happen with mainline
snapshots from 2002-12-05 and -19, so I guess this
must be a regression that was introduced on the branch.
Too bad :-(

A backtrace of this is as here:
#0  0x08080896 in pushclass (type=0x4018d8c0, modify=2)
    at ../../gcc-3.3-CVS/gcc/cp/class.c:5657
#1  0x0808917f in push_scope (t=0x0) at ../../gcc-3.3-CVS/gcc/cp/decl2.c:4038
#2  0x080855e9 in grokoptypename (declspecs=0x0, declarator=0x0, 
    scope=0x4018d8c0) at ../../gcc-3.3-CVS/gcc/cp/decl2.c:1145
#3  0x08096b74 in yyparse () at parse.y:3992
#4  0x080d26b9 in c_common_parse_file (set_yydebug=0)
    at ../../gcc-3.3-CVS/gcc/c-lex.c:159

W.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2003-02-21 21:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-21 21:48 c++/9727: [3.3 regression] ICE in pushclass() with template and conversion operator mmitchel
  -- strict thread matches above, loose matches on Subject: below --
2003-02-17 23:55 bangerth
2003-02-17 16:16 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).