public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/15227] New: [3.3/3.4/3.5 regression] Trouble with invalid function definition Date: Fri, 30 Apr 2004 15:12:00 -0000 [thread overview] Message-ID: <20040430144910.15227.reichelt@gcc.gnu.org> (raw) The following testcase (which is invalid, as A::B doesn't exist) causes trouble: ============================================= template<typename> struct A {}; template<typename T> void A<T>::B::foo() {} ============================================= GCC 2.95.3 correctly rejects the code, gcc 3.1 - 3.3.4 wrongly accept it, gcc 3.0.x, 3.4.0 and mainline segfault. -- Summary: [3.3/3.4/3.5 regression] Trouble with invalid function definition Product: gcc Version: 3.4.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, accepts-invalid Severity: critical Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15227
next reply other threads:[~2004-04-30 14:49 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-04-30 15:12 reichelt at gcc dot gnu dot org [this message] 2004-04-30 15:41 ` [Bug c++/15227] " pinskia at gcc dot gnu dot org 2004-06-06 3:40 ` giovannibajo at libero dot it 2004-06-10 14:27 ` cvs-commit at gcc dot gnu dot org 2004-06-10 14:27 ` cvs-commit at gcc dot gnu dot org 2004-06-10 14:29 ` mmitchel at gcc dot gnu dot org 2004-06-10 14:55 ` pinskia at gcc dot gnu dot org
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=20040430144910.15227.reichelt@gcc.gnu.org \ --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).