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++/2892] array addresses corrupted when using template classes Date: Wed, 28 Apr 2004 01:57:00 -0000 [thread overview] Message-ID: <20040428010255.17783.qmail@sources.redhat.com> (raw) In-Reply-To: <20010521155602.2892.goyette@sgi.com> ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-28 01:02 ------- On the mainline we get a warning: pr2892.cc: In member function `void* X<T, F>::Foo(F) [with T = int[2], F = int[2]]': pr2892.cc:46: instantiated from here pr2892.cc:8: warning: address of local variable `arg' returned So I think this is invalid. -- What |Removed |Added ---------------------------------------------------------------------------- Keywords|rejects-valid | Last reconfirmed|2004-02-16 05:12:48 |2004-04-28 01:02:53 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2892
next prev parent reply other threads:[~2004-04-28 1:02 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <20010521155602.2892.goyette@sgi.com> 2004-02-16 5:13 ` pinskia at gcc dot gnu dot org 2004-04-28 1:57 ` pinskia at gcc dot gnu dot org [this message] 2004-04-28 7:44 ` bangerth at dealii dot org 2004-04-28 9:19 ` nathan at gcc dot gnu dot org 2004-04-28 20:26 ` bangerth at dealii dot org 2004-04-29 0:45 ` giovannibajo at libero dot it 2005-02-25 19:47 ` [Bug c++/2892] No array-to-pointer decay happens for template functions pinskia at gcc dot gnu dot org 2005-03-09 18:53 ` mmitchel at gcc dot gnu dot org 2005-03-16 13:17 ` reichelt 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=20040428010255.17783.qmail@sources.redhat.com \ --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).