https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109982
--- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to H.J. Lu from comment #11) > (In reply to H.J. Lu from comment #9) > > [hjl@gnu-cfl-3 pr109982]$ cat x.c > > struct S0 { > > long long int f0; > > } __attribute__((aligned(128))); > > > > int padding = 1; > > static struct S0 g_2415 __attribute__((aligned(4))) = {-1L}; > > static struct S0 *g_2500 __attribute__((visibility("internal"), used)) = > > &g_2415; > > > > I think the code is invalid since g_2500 isn't pointed to properly aligned > data. Yes, don't we diagnose this now?