public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/66919] New: [5 Regression] C++14 ICE during error reporting
@ 2015-07-17 20:35 jakub at gcc dot gnu.org
  2015-07-17 20:36 ` [Bug c++/66919] " jakub at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-07-17 20:35 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-09-07 13:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-17 20:35 [Bug c++/66919] New: [5 Regression] C++14 ICE during error reporting jakub at gcc dot gnu.org
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

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).