https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124635
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Both
#pragma scalar_storage_order big-endian
struct S {
struct S *s[1];
char c;
};
and
struct __attribute__((scalar_storage_order("big-endian"))) S {
struct S *s[1];
char c;
};
trigger it with just -g
