[Bug c++/84927] [7 Regression] ICE with NSDMI and reference
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84927 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #7 from Marek Polacek --- Fixed.
[Bug c++/84927] [7 Regression] ICE with NSDMI and reference
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84927 --- Comment #6 from Marek Polacek --- Author: mpolacek Date: Thu Mar 22 14:17:03 2018 New Revision: 258771 URL: https://gcc.gnu.org/viewcvs?rev=258771=gcc=rev Log: PR c++/84927 * constexpr.c (cxx_eval_bare_aggregate): Update constructor's flags as we evaluate the elements. (cxx_eval_constant_expression): Verify constructor's flags unconditionally. Added: branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp1y/nsdmi-aggr9.C Modified: branches/gcc-7-branch/gcc/cp/ChangeLog branches/gcc-7-branch/gcc/cp/constexpr.c
[Bug c++/84927] [7 Regression] ICE with NSDMI and reference
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84927 --- Comment #5 from Marek Polacek --- Author: mpolacek Date: Tue Mar 20 18:13:38 2018 New Revision: 258691 URL: https://gcc.gnu.org/viewcvs?rev=258691=gcc=rev Log: PR c++/84927 * constexpr.c (cxx_eval_bare_aggregate): Update constructor's flags as we evaluate the elements. (cxx_eval_constant_expression): Verify constructor's flags unconditionally. * g++.dg/cpp1y/nsdmi-aggr9.C: New test. Added: trunk/gcc/testsuite/g++.dg/opt/nrv19.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/constexpr.c trunk/gcc/testsuite/ChangeLog
[Bug c++/84927] [7 Regression] ICE with NSDMI and reference
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84927 Marek Polacek changed: What|Removed |Added Summary|[7/8 Regressiion] ICE with |[7 Regression] ICE with |NSDMI and reference |NSDMI and reference --- Comment #4 from Marek Polacek --- Fixed on trunk so far.