Commit f07e929d by H.J. Lu Committed by H.J. Lu

Check ia32 effective target.

2011-07-11  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc.dg/vect/costmodel/x86_64/x86_64-costmodel-vect.exp: Check
	ia32.
	* go.test/go-test.exp (go-set-goarch): Likewise.

From-SVN: r176153
parent 969cc915
2011-07-11 H.J. Lu <hongjiu.lu@intel.com>
* gcc.dg/vect/costmodel/x86_64/x86_64-costmodel-vect.exp: Check
ia32.
* go.test/go-test.exp (go-set-goarch): Likewise.
2011-07-11 Georg-Johann Lay <avr@gjlay.de> 2011-07-11 Georg-Johann Lay <avr@gjlay.de>
PR target/39633 PR target/39633
......
...@@ -22,7 +22,7 @@ load_lib gcc-dg.exp ...@@ -22,7 +22,7 @@ load_lib gcc-dg.exp
# Exit immediately if this isn't a x86 target. # Exit immediately if this isn't a x86 target.
if { (![istarget x86_64-*-*] && ![istarget i?86-*-*]) if { (![istarget x86_64-*-*] && ![istarget i?86-*-*])
|| (![is-effective-target x32] && ![is-effective-target lp64]) } then { || [is-effective-target ia32] } then {
return return
} }
......
...@@ -134,7 +134,7 @@ proc go-set-goarch { } { ...@@ -134,7 +134,7 @@ proc go-set-goarch { } {
} }
"i?86-*-*" - "i?86-*-*" -
"x86_64-*-*" { "x86_64-*-*" {
if [check_effective_target_ilp32] { if [check_effective_target_ia32] {
set goarch "386" set goarch "386"
} else { } else {
set goarch "amd64" set goarch "amd64"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment