The new gcc.dg/vect/pr60656.c test errors out on non-x86/ia64 targets: ERROR: gcc.dg/vect/pr60656.c: error executing dg-final: can't read "et_vect_widen_mult_si_to_di_pattern_saved": no such variable UNRESOLVED: gcc.dg/vect/pr60656.c: error executing dg-final: can't read "et_vect_widen_mult_si_to_di_pattern_saved": no such variable ERROR: gcc.dg/vect/pr60656.c -flto -ffat-lto-objects: error executing dg-final: can't read "et_vect_widen_mult_si_to_di_pattern_saved": no such variable UNRESOLVED: gcc.dg/vect/pr60656.c -flto -ffat-lto-objects: error executing dg-final: can't read "et_vect_widen_mult_si_to_di_pattern_saved": no such variable
The following patch fixes this. Tested with the appropriate runtest invocations on sparc-sun-solaris2.11 and i386-pc-solaris2.11, installed on mainline. Ok for 4.9 branch, too? Thanks. Rainer 2014-04-14 Rainer Orth <r...@cebitec.uni-bielefeld.de> * lib/target-supports.exp (check_effective_target_vect_widen_mult_si_to_di_pattern): Initialize et_vect_widen_mult_si_to_di_pattern_saved. Fix formatting.
# HG changeset patch # Parent a3814d205d39aff471d4dbe9bd5855c986089b36 Fix vect_widen_mult_si_to_di_pattern on non-x86 targets diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -3749,9 +3749,10 @@ proc check_effective_target_vect_widen_m if [info exists et_vect_widen_mult_si_to_di_pattern_saved] { verbose "check_effective_target_vect_widen_mult_si_to_di_pattern: using cached result" 2 } else { + set et_vect_widen_mult_si_to_di_pattern_saved 0 if {[istarget ia64-*-*] - || [istarget i?86-*-*] - || [istarget x86_64-*-*] } { + || [istarget i?86-*-*] + || [istarget x86_64-*-*] } { set et_vect_widen_mult_si_to_di_pattern_saved 1 } }
-- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University