> Attached one-liner fixes PR target/48723, ICE in > ix86_expand_prologue() with -fstack-check + function returning struct, > on corei7-avx. The problem was, that we forgot to update accounting > info when ix86_adjust_stack_and_probe adjusted stack pointer (in this > particular case, m->fs.sp_offset was set by stack realignment code for > AVX 32byte stack alignment.
Take a look at line 10165 of config/i386/i386.c. -- Eric Botcazou