https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412
--- Comment #27 from Dmitry Kazakov <dimula73 at gmail dot com> --- As a workaround, one can either use __attribute__((always_inline)) for *all* the functions accepting __m256 or pass *all* arguments by const-ref. Const-ref arguments are passed correctly.