This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch][committed] Fix check_effective_target_vect_multiple_sizes and check_effective_target_vect64


Hi,

Michael pointed out this problem in
check_effective_target_vect_multiple_sizes and
check_effective_target_vect64 that I added lately.

Tested on powerpc64-suse-linux.
Committed as obvious.

Thanks,
Ira

testsuite/ChangeLog:

        * lib/target-supports.exp (check_effective_target_vect_multiple_sizes):
        Make et_vect_multiple_sizes_saved global.
        (check_effective_target_vect64): Make et_vect64_saved global.


Index: testsuite/lib/target-supports.exp
===================================================================
--- testsuite/lib/target-supports.exp   (revision 179489)
+++ testsuite/lib/target-supports.exp   (working copy)
@@ -3375,7 +3375,7 @@ foreach N {2 3 4 8} {
 # Return 1 if the target supports multiple vector sizes

 proc check_effective_target_vect_multiple_sizes { } {
-    global et_vect_multiple_sizes
+    global et_vect_multiple_sizes_saved

     if [info exists et_vect_multiple_sizes_saved] {
         verbose "check_effective_target_vect_multiple_sizes: using
cached result" 2
@@ -3393,7 +3393,7 @@ proc check_effective_target_vect_multiple_sizes {
 # Return 1 if the target supports vectors of 64 bits.

 proc check_effective_target_vect64 { } {
-    global et_vect64
+    global et_vect64_saved

     if [info exists et_vect64_saved] {
         verbose "check_effective_target_vect64: using cached result" 2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]