http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53113
--- Comment #3 from Martin <windward at gmx dot com> 2012-06-13 14:40:06 UTC --- I can confirm that the attached patch solves the AVX problem for me as well (means on Solaris and CentOS), wether it is a "proper" one or not... Thanks! (BTW, now the compilation on Solaris fails with In file included from ./kinds.h:75:0, from ../../.././libgfortran/libgfortran.h:232, from ../../.././libgfortran/fmain.c:4: ../../.././libgfortran/kinds-override.h:40:5: error: #error "Where has __float128 gone?" gmake[6]: *** [fmain.lo] Error 1 gmake[6]: Leaving directory `/opt/SP/build/gcc/gcc-4.7.0/i386-pc-solaris2.10/amd64/libgfortran' *sigh* But this seems to be a different story...)