@@ -1,5 +1,10 @@
2011-03-15 H.J. Lu <hongjiu.lu@intel.com>
+ * lib/target-supports.exp (check_effective_target_vect_cmdline_needed):
+ Also check x32.
+
+2011-03-15 H.J. Lu <hongjiu.lu@intel.com>
+
* gcc.dg/20050503-1.c: Check ia32 instead of ilp32.
* gcc.dg/builtin-apply4.c: Likewise.
* gcc.dg/pr35045.c: Likewise.
@@ -1715,7 +1715,8 @@ proc check_effective_target_vect_cmdline_needed { } {
if { [istarget alpha*-*-*]
|| [istarget ia64-*-*]
|| (([istarget x86_64-*-*] || [istarget i?86-*-*])
- && [check_effective_target_lp64])
+ && ([check_effective_target_x32]
+ || [check_effective_target_lp64]))
|| ([istarget powerpc*-*-*]
&& ([check_effective_target_powerpc_spe]
|| [check_effective_target_powerpc_altivec]))