On Fri, Dec 14, 2018 at 06:15:54PM -0200, Alexandre Oliva wrote:
> On Dec  6, 2018, Alexandre Oliva <aol...@redhat.com> wrote:
> 
> > Regstrapped on x86_64- and i686-linux-gnu, mistakenly along with a patch
> > with a known regression, and got only that known regression.  Retesting
> > without it.  Ok to install?
> 
> Ping?  That retesting confirmed no regressions.
> https://gcc.gnu.org/ml/gcc-patches/2018-12/msg00423.html
> 
> 
> > for  gcc/cp/ChangeLog
> 
> >     PR c++/87814
> >     * pt.c (tsubst_exception_specification): Handle
> >     DEFERRED_NOEXCEPT with !defer_ok.
> 
> > for  gcc/testsuite/ChangeLog
> 
> >     PR c++/87814
> >     * g++.dg/cpp1z/pr87814.C: New.

This patch fixed also PR87125, I've added the simplified testcase to
the testsuite after verifying it still ICEs before your commit and doesn't
after it or before r261084, so that we can close the PR.

2018-12-21  Jakub Jelinek  <ja...@redhat.com>

        PR c++/87125
        * g++.dg/cpp0x/pr87125.C: New test.

--- gcc/testsuite/g++.dg/cpp0x/pr87125.C.jj     2018-12-21 13:03:02.781212081 
+0100
+++ gcc/testsuite/g++.dg/cpp0x/pr87125.C        2018-12-21 13:08:10.941433896 
+0100
@@ -0,0 +1,15 @@
+// PR c++/87125
+// { dg-do compile { target c++11 } }
+
+template <typename T>
+struct S {
+  template <typename U>
+  constexpr S (U) noexcept (T ()) {}
+};
+struct V : S<int> { using S::S; };
+
+bool
+foo ()
+{
+  return noexcept (V (0));
+}


        Jakub

Reply via email to