https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94740
--- Comment #1 from acsawdey at gcc dot gnu.org --- Reduced test case: struct __attribute__((scalar_storage_order("big-endian"))) { int a; int b[]; } c; int d; int e() { d = c.b[0]; }
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94740
--- Comment #1 from acsawdey at gcc dot gnu.org --- Reduced test case: struct __attribute__((scalar_storage_order("big-endian"))) { int a; int b[]; } c; int d; int e() { d = c.b[0]; }