> Cool, Eric could you quickly test the following? This still leaves > the i386.exp case issue open, it stands to reason that something like > -Wall is needed for those tests too.
I think that we should go the i386 way. This works on i386 because the builtins are always available (when you pass the right options) and the assembler rejects the unknown instructions. So in config/sparc/sparc.h: #ifndef HAVE_AS_FMAF_HPC_VIS3 #define AS_NIAGARA3_FLAG "b" #undef TARGET_FMAF #define TARGET_FMAF 0 #undef TARGET_VIS3 #define TARGET_VIS3 0 #else #define AS_NIAGARA3_FLAG "d" #endif we shouldn't force TARGET_FMAF and TARGET_VIS3 to 0. The configure test would only be used to compute default options. -- Eric Botcazou