public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: bangerth@ticam.utexas.edu To: gcc-gnats@gcc.gnu.org Subject: c++/8385: ICE in mangle.c:write_type with typeof(...) as template arg Date: Mon, 28 Oct 2002 11:46:00 -0000 [thread overview] Message-ID: <20021028193702.21590.qmail@sources.redhat.com> (raw) >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:
next reply other threads:[~2002-10-28 19:46 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-10-28 11:46 bangerth [this message] 2002-11-19 18:28 reichelt
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20021028193702.21590.qmail@sources.redhat.com \ --to=bangerth@ticam.utexas.edu \ --cc=gcc-gnats@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).