https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90938
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |85723 --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- The class X should not be trivial, see https://wg21.link/cwg1496 So maybe this is a dup of Bug 85723 Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85723 [Bug 85723] [C++17][DR 1496] __is_trivial intrinsic fails with no trivial non-deleted default c'tor