https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91067
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |link-failure Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #14 from Jonathan Wakely <redi at gcc dot gnu.org> --- I can reproduce the link failure. For some reason Clang requires that constructor at -O1, but not at any other optimization level.