public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "paolo at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/27211] Bogus error "template definition of non-template" when there is no non-template Date: Tue, 14 Aug 2007 22:07:00 -0000 [thread overview] Message-ID: <20070814220747.9107.qmail@sourceware.org> (raw) In-Reply-To: <bug-27211-1771@http.gcc.gnu.org/bugzilla/> ------- Comment #7 from paolo at gcc dot gnu dot org 2007-08-14 22:07 ------- Subject: Bug 27211 Author: paolo Date: Tue Aug 14 22:07:31 2007 New Revision: 127492 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127492 Log: /cp 2007-08-14 Paolo Carlini <pcarlini@suse.de> PR c++/27211 * decl2.c (check_classfn): Return error_mark_node in case of error; in that case, do not call add_method. * decl.c (start_decl): Deal with check_classfn returning error_mark_node. (grokfndecl): Likewise. * pt.c (tsubst_friend_function): Likewise. /testsuite 2007-08-14 Paolo Carlini <pcarlini@suse.de> PR c++/27211 * g++.dg/template/error27.C: New. * g++.dg/template/error28.C: New. * g++.dg/other/pr28304.C: Adjust. * g++.old-deja/g++.mike/p811.C: Likewise. Added: trunk/gcc/testsuite/g++.dg/template/error27.C trunk/gcc/testsuite/g++.dg/template/error28.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/cp/decl2.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/other/pr28304.C trunk/gcc/testsuite/g++.old-deja/g++.mike/p811.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27211
next prev parent reply other threads:[~2007-08-14 22:07 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-04-19 9:11 [Bug c++/27211] New: " reichelt at gcc dot gnu dot org 2006-04-22 20:27 ` [Bug c++/27211] " pinskia at gcc dot gnu dot org 2006-05-26 15:30 ` bangerth at dealii dot org 2006-07-19 11:04 ` reichelt at gcc dot gnu dot org 2006-08-04 21:54 ` reichelt at gcc dot gnu dot org 2007-07-23 20:55 ` reichelt at gcc dot gnu dot org 2007-08-13 19:04 ` pcarlini at suse dot de 2007-08-14 22:07 ` paolo at gcc dot gnu dot org [this message] 2007-08-14 22:14 ` paolo at gcc dot gnu dot org 2007-08-14 22:16 ` 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=20070814220747.9107.qmail@sourceware.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).