public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/8385: ICE in mangle.c:write_type with typeof(...) as template arg
@ 2002-11-19 18:28 reichelt
  0 siblings, 0 replies; 2+ messages in thread
From: reichelt @ 2002-11-19 18:28 UTC (permalink / raw)
  To: bangerth, gcc-bugs, gcc-prs, nobody

Synopsis: ICE in mangle.c:write_type with typeof(...) as template arg

State-Changed-From-To: open->analyzed
State-Changed-By: reichelt
State-Changed-When: Wed Nov 13 01:38:02 2002
State-Changed-Why:
    Confirmed.
    The ICE appears since gcc 3.0.

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


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

* c++/8385: ICE in mangle.c:write_type with typeof(...) as template arg
@ 2002-10-28 11:46 bangerth
  0 siblings, 0 replies; 2+ messages in thread
From: bangerth @ 2002-10-28 11:46 UTC (permalink / raw)
  To: gcc-gnats


>Number:         8385
>Category:       c++
>Synopsis:       ICE in mangle.c:write_type with typeof(...) as template arg
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 28 11:46:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Wolfgang Bangerth
>Release:        unknown-1.0
>Organization:
>Environment:
gcc 3.3 CVS and 3.2.1 branch
>Description:
This triggers an ICE in write_type in cp/mangle.c, when using -g:
--------------------------------------
int foo;

template <class T> struct Base  {};

template<class T>
struct Derived : public Base<typeof(foo)> {};
---------------------------------------


The message is:
------------------------------------------
tmp/g> /home/bangerth/bin/gcc-3.3-pre/bin/c++ -g x.cc
x.cc: In instantiation of `Base<__typeof (foo)>':
x.cc:6:   instantiated from here
x.cc:3: internal compiler error: in write_type, at cp/mangle.c:1492
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:

>Fix:

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


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

end of thread, other threads:[~2002-11-13  9:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-19 18:28 c++/8385: ICE in mangle.c:write_type with typeof(...) as template arg reichelt
  -- strict thread matches above, loose matches on Subject: below --
2002-10-28 11:46 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).