https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112510
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- void gate_x1_curve(float *dst, const float *src, const dsp::gate_knee_t *c, size_t count) { gate_knee_t knee __lsp_aligned64; float mem[32] __lsp_aligned64; float stub[8] __lsp_aligned64; size_t mask; you seem to rely on a specific chosen stack layout. Instead you should put appropriate _Alignas or __attribute__((aligned(N))) on the variables above.