https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100653
--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > Not at the moment, although this could probably be implemented. But a > simple rule of thumb is to avoid using scalar_storage_order with unions at > all. I'm going to implement a simple warning for unions.