public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/16635] g++ instantiates templates at the wrong place Date: Thu, 23 Jun 2005 01:28:00 -0000 [thread overview] Message-ID: <20050623012801.29306.qmail@sourceware.org> (raw) In-Reply-To: <20040719194521.16635.geoffk@gcc.gnu.org> ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-23 01:27 ------- (In reply to comment #6) > (In reply to comment #5) > > Here's the same thing with overloaded functions, causing a wrong-code error. If the last definition of > > 'bar' is commented out, the testcase passes, but otherwise not. > That code is acutally invalid and really should have been rejected see PR 2922 for that. Also if we move the template func after bar and main after the second bar, we get back to basicially PR 2922. So the first testcase is the only one which the problem for this bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16635
next prev parent reply other threads:[~2005-06-23 1:28 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-07-19 19:45 [Bug c++/16635] New: g++ doesn't diagnose instantiation of template that uses incomplete type geoffk at gcc dot gnu dot org 2004-07-19 20:23 ` [Bug c++/16635] " bangerth at dealii dot org 2004-07-31 0:25 ` giovannibajo at libero dot it 2005-04-26 6:54 ` [Bug c++/16635] g++ instantiates templates at the wrong place geoffk at gcc dot gnu dot org 2005-06-23 1:20 ` pinskia at gcc dot gnu dot org 2005-06-23 1:28 ` pinskia at gcc dot gnu dot org [this message] [not found] <bug-16635-638@http.gcc.gnu.org/bugzilla/> 2007-05-31 10:57 ` andrew dot stubbs at st dot com 2008-04-03 2:52 ` pinskia at gcc dot gnu dot org 2008-08-29 3:48 ` pinskia at gcc dot gnu dot org 2009-01-09 20:27 ` pinskia at gcc dot gnu dot org 2009-12-05 0:11 ` pinskia at gcc dot gnu dot org 2010-01-06 19:41 ` jason at gcc dot gnu dot org [not found] <bug-16635-4@http.gcc.gnu.org/bugzilla/> 2011-12-16 11:12 ` redi at gcc dot gnu.org 2011-12-16 18:44 ` jason at gcc dot gnu.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=20050623012801.29306.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).