public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "chris at bubblescope dot net" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/43382] ICE on C++0x code Date: Tue, 16 Mar 2010 08:39:00 -0000 [thread overview] Message-ID: <20100316083900.3161.qmail@sourceware.org> (raw) In-Reply-To: <bug-43382-9525@http.gcc.gnu.org/bugzilla/> ------- Comment #2 from chris at bubblescope dot net 2010-03-16 08:38 ------- Reduced testcase: template<class T> struct Container { T f() const; }; template<class T> T deref(const T& t) { return t; } template <class T, class... Args> auto deref(const T& u, int r, Args... args) -> decltype(deref(u.f(), args...)) { return deref(u.f(), args...); } int main(void) { Container<Container<int>> v; deref(v,1,2); } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43382
next prev parent reply other threads:[~2010-03-16 8:39 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-03-15 20:14 [Bug c++/43382] New: Internal error " chris at bubblescope dot net 2010-03-15 23:56 ` [Bug c++/43382] ICE " paolo dot carlini at oracle dot com 2010-03-16 8:39 ` chris at bubblescope dot net [this message] 2010-03-16 10:28 ` paolo dot carlini at oracle dot com 2010-03-16 11:51 ` rguenth at gcc dot gnu dot org 2010-05-26 4:59 ` [Bug c++/43382] [C++0x] ICE with auto return type and variadic templates jason at gcc dot gnu dot org 2010-05-26 15:00 ` jason at gcc dot gnu dot org 2010-05-26 15:19 ` jason at gcc dot gnu dot org 2010-05-26 17:15 ` jason 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=20100316083900.3161.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).