https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 114954, which changed state.
Bug 114954 Summary: [modules] ICE in write_class_def with templated union type https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114954 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED