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

* [Bug c++/66919] [5 Regression] C++14 ICE during error reporting
  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 ` jakub at gcc dot gnu.org
  2015-08-17 21:35 ` jason at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-07-17 20:36 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66919

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-07-17
   Target Milestone|---                         |5.3
     Ever confirmed|0                           |1


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

* [Bug c++/66919] [5 Regression] C++14 ICE during error reporting
  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
  3 siblings, 0 replies; 5+ messages in thread
From: jason at gcc dot gnu.org @ 2015-08-17 21:35 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66919

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Aug 17 21:34:50 2015
New Revision: 226955

URL: https://gcc.gnu.org/viewcvs?rev=226955&root=gcc&view=rev
Log:
        PR c++/66919
        * pt.c (tsubst_copy): Pass complain to mark_used, check return value.

Added:
    branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp1y/auto-fn27.C
Modified:
    branches/gcc-5-branch/gcc/cp/ChangeLog
    branches/gcc-5-branch/gcc/cp/pt.c


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

* [Bug c++/66919] [5 Regression] C++14 ICE during error reporting
  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
  3 siblings, 0 replies; 5+ messages in thread
From: jason at gcc dot gnu.org @ 2015-08-18 21:29 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66919

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Aug 18 21:29:07 2015
New Revision: 226993

URL: https://gcc.gnu.org/viewcvs?rev=226993&root=gcc&view=rev
Log:
        PR c++/66919
        * g++.dg/cpp1y/auto-fn27.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/auto-fn27.C


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

* [Bug c++/66919] [5 Regression] C++14 ICE during error reporting
  2015-07-17 20:35 [Bug c++/66919] New: [5 Regression] C++14 ICE during error reporting jakub at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2015-08-18 21:29 ` jason at gcc dot gnu.org
@ 2015-09-07 13:26 ` paolo.carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: paolo.carlini at oracle dot com @ 2015-09-07 13:26 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66919

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed then.


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