Hello H.J.! The testscase gcc.target/i386/sse2-vec-5.c you ported from mainline fails on gcc-4.2 branch because __builtin_ia32_vec_ext_v16qi builtin does not exist in gcc-4.2. This builtin corresponds to pextrb insn that was introduced in SSE4 (gcc-4.3).
Also, the definition of __builtin_ia32_vec_ext_v16qi in the mainline should be enabled only for OPTION_MASK_ISA_SSE4_1, as current definition is also enabled for SSE2: def_builtin (OPTION_MASK_ISA_SSE2, "__builtin_ia32_vec_ext_v16qi", ftype, IX86_BUILTIN_VEC_EXT_V16QI); I propose that sse2-vec-5.c is removed from the testsuite in gcc-4_2 branch and mainline. Thanks, Uros.