[Bug c++/87410] internal compiler error: in fold_convert_loc, at fold-const.c:2530
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87410 --- Comment #4 from Marek Polacek --- Author: mpolacek Date: Thu Jun 13 01:31:03 2019 New Revision: 272230 URL: https://gcc.gnu.org/viewcvs?rev=272230=gcc=rev Log: PR c++/87410 * g++.dg/cpp1y/pr87410.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp1y/pr87410.C Modified: trunk/gcc/testsuite/ChangeLog
[Bug c++/87410] internal compiler error: in fold_convert_loc, at fold-const.c:2530
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87410 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #5 from Marek Polacek --- Fixed.
[Bug c++/87410] internal compiler error: in fold_convert_loc, at fold-const.c:2530
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87410 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED CC||mpolacek at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org --- Comment #3 from Marek Polacek --- More reduced template using b = const char[a]; template constexpr auto g(b &, b &, f) {} template auto h(b &) { auto i = j(static_cast(nullptr)); return **i; } class k { using l = k; const int () const; friend constexpr auto j(l **n) -> decltype(n) { g("", "", static_cast(::m)); return n; } }; k o = h("");
[Bug c++/87410] internal compiler error: in fold_convert_loc, at fold-const.c:2530
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87410 --- Comment #2 from Martin Liška --- Created attachment 44822 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44822=edit Reduced test-case
[Bug c++/87410] internal compiler error: in fold_convert_loc, at fold-const.c:2530
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87410 Martin Liška changed: What|Removed |Added Keywords||ice-on-valid-code Status|UNCONFIRMED |NEW Last reconfirmed||2018-10-09 CC||marxin at gcc dot gnu.org Known to work||9.0 Ever confirmed|0 |1 Known to fail||8.2.0 --- Comment #1 from Martin Liška --- Fixed on trunk in r259717.