https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97804
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Component|middle-end |c++
Target Milestone|--- |9.4
Last reconfirmed| |2020-11-11
CC| |jakub at gcc dot gnu.org,
| |jason at gcc dot gnu.org
Summary|ICE in |[9/10/11 Regression] ICE in
|output_constructor_register |output_constructor_register
|_field varasm.c:5407 |_field varasm.c:5407 since
| |r9-5710
Status|UNCONFIRMED |NEW
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r9-5710-g7e574f68fa82e7c5f879fd468291ec8b5ebecc83
Reduced testcase (-std=c++17):
template <typename a> struct b {
constexpr b() : c() {}
[[no_unique_address]] a c;
};
template <unsigned long, typename...> struct d;
template <unsigned long e, typename a, typename... f>
struct d<e, a, f...> : d<1, f...>, b<a> {};
template <unsigned long e, typename a> struct d<e, a> : b<a> {};
template <typename... g> class h : d<0, g...> {};
struct i {};
class j {
using k = int;
h<k, i> l;
float m = 0.025f;
} n;