https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106838
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #5) > (void) __is_trivial(I[]); // { dg-error "incomplete type" "FAILS" } This gives an error in gcc-12, so is a regression. But gcc-12 also gives additional bogus errors, so overall trunk is closer to being right. But still not right.