public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "belyshev at depni dot sinp dot msu dot ru" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/20463] New: [4.0/4.1 regression] ICE on using undefined type Date: Sun, 13 Mar 2005 22:12:00 -0000 [thread overview] Message-ID: <20050313221157.20463.belyshev@depni.sinp.msu.ru> (raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1166 bytes --] This invalid code snippet produces ICE on mainline and 4.0 branch: ------------------------------------------------------------------------------- template < typename T > struct C; template < typename T > void C < T > :: f () { const foo bar; } ------------------------------------------------------------------------------- foo.cc:3: error: invalid use of undefined type struct C<T> foo.cc:1: error: declaration of struct C<T> foo.cc:3: error: template definition of non-template void C<T>::f() foo.cc: In member function void C<T>::f(): foo.cc:5: error: foo does not name a type foo.cc:5: internal compiler error: Segmentation fault -- Summary: [4.0/4.1 regression] ICE on using undefined type Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, error-recovery Severity: minor Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: belyshev at depni dot sinp dot msu dot ru CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20463
next reply other threads:[~2005-03-13 22:12 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-03-13 22:12 belyshev at depni dot sinp dot msu dot ru [this message] 2005-03-13 22:16 ` [Bug c++/20463] " pinskia at gcc dot gnu dot org 2005-03-18 12:05 ` pcarlini at suse dot de 2005-03-18 13:48 ` pinskia at gcc dot gnu dot org 2005-03-18 17:17 ` cvs-commit at gcc dot gnu dot org 2005-03-18 17:20 ` cvs-commit at gcc dot gnu dot org 2005-03-22 9:12 ` [Bug c++/20463] [4.0 " cvs-commit at gcc dot gnu dot org 2005-03-22 9:29 ` cvs-commit at gcc dot gnu dot org 2005-03-22 9:30 ` pcarlini at suse dot de
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=20050313221157.20463.belyshev@depni.sinp.msu.ru \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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).