http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58889
--- Comment #1 from Thiago Macieira <thiago at kde dot org> --- This problem also happens with other combinations of functions in use and compiler options. My original problem happened on a 64-bit build with -march=corei7-avx and a function with __attribute__((target("avx2"))).