public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: debug/8384: ICE in is_base_type, at dwarf2out.c:7477
@ 2002-10-28 9:39 bangerth
0 siblings, 0 replies; 2+ messages in thread
From: bangerth @ 2002-10-28 9:39 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, wb
Old Synopsis: g++ -g gives ICE, but compiles ok without -g
New Synopsis: ICE in is_base_type, at dwarf2out.c:7477
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Mon Oct 28 09:39:07 2002
State-Changed-Why:
2.95 used to say:
x.cc:14: sorry, not implemented: testing typeof_type for template parms
x.cc:14: confused by earlier errors, bailing out
3.2 and present CVS say this:
x.cc: In instantiation of `Identity<__typeof ((true ? fakemake<T>() : fakemake<U>()))>':
x.cc:14: instantiated from here
x.cc:6: internal compiler error: in is_base_type, at dwarf2out.c:7477
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8384
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: debug/8384: ICE in is_base_type, at dwarf2out.c:7477
@ 2002-10-28 11:56 Wolfgang Bangerth
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Bangerth @ 2002-10-28 11:56 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR debug/8384; 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: debug/8384: ICE in is_base_type, at dwarf2out.c:7477
Date: Mon, 28 Oct 2002 13:50:05 -0600 (CST)
Here's a shorter example:
--------------------------------
int foo;
template <class T> struct Base {
typedef T type;
};
template<class T>
struct Derived : public Base<typeof(foo)> {};
-------------------------------
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:8: instantiated from here
x.cc:3: internal compiler error: in is_base_type, at dwarf2out.c:7477
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
-------------------------------
I believe that if this problem is fixed, the code will still not compile
but the next issue will then be c++/8385.
Regards
Wolfgang
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ticam.utexas.edu
www: http://www.ticam.utexas.edu/~bangerth
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-10-28 19:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-28 9:39 debug/8384: ICE in is_base_type, at dwarf2out.c:7477 bangerth
2002-10-28 11:56 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).