Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: bbannier+gcc_bugs at gmail dot com
Target Milestone: ---
I see an internal compiler error with the following code (reduced from actual
production code that passes with g++-5.3.0).
% cat log.ii
template struct Tag
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69851
--- Comment #8 from Benjamin Bannier ---
Thanks for the fast turn-around, that patch fixed the original issue like
expected. I encountered another similar issue in the same code base which still
causes an ICE, see 69889.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69889
--- Comment #7 from Benjamin Bannier ---
Thanks for taking care of this so quickly. I currently do not observe any more
ICEs from that codebase.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80829
--- Comment #1 from Benjamin Bannier ---
We believe this code is legal C++11 (AFAICT no explicit restrictions on
implicit conversions of `constexpr` vars), and was compiling successfully with
e.g., 6.3, so we strongly suspect a GCC regression.