public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66919] New: [5 Regression] C++14 ICE during error reporting Date: Fri, 17 Jul 2015 20:35:00 -0000 [thread overview] Message-ID: <bug-66919-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66919 Bug ID: 66919 Summary: [5 Regression] C++14 ICE during error reporting Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org CC: jason at gcc dot gnu.org, paolo at gcc dot gnu.org Target Milestone: --- template <int> struct A { template <typename F, typename R, typename T> static auto run (F fn, R, T) { auto r = fn (); } }; template <typename F, typename T> auto foo (F fn, T) { A <0>::run (fn, 0, 0); } struct B; struct C { typedef B D; }; struct E { virtual void bar (const int &); }; template <typename C> struct F : E { typedef typename C::D::G G; void bar (const G &); typename C::D::H I; }; struct J { struct K {}; }; template <typename T> void F<T>::bar (const G &) { auto s = I; typedef decltype (s) L; auto u =[&](L) { auto t = foo (J::K (), 0); }; } struct B { typedef int G; typedef int H; }; struct M : F <C> { M () {} }; ICEs with -std=c++1y starting with r211188 and it got fixed (or went latent) on the trunk with r222150.
next reply other threads:[~2015-07-17 20:35 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-07-17 20:35 jakub at gcc dot gnu.org [this message] 2015-07-17 20:36 ` [Bug c++/66919] " jakub at gcc dot gnu.org 2015-08-17 21:35 ` jason at gcc dot gnu.org 2015-08-18 21:29 ` jason at gcc dot gnu.org 2015-09-07 13:26 ` paolo.carlini at oracle dot com
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=bug-66919-4@http.gcc.gnu.org/bugzilla/ \ --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).