From: Andy Dougherty Date: Fri, 24 May 2002 14:46:49 +0000 (-0400) Subject: Re: op/pat.t failure at test 822, Solaris 8, gcc -O -Duse64bitint X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=69b290701641763d6658a11526b6e1d15ef2da4e;p=p5sagit%2Fp5-mst-13.2.git Re: op/pat.t failure at test 822, Solaris 8, gcc -O -Duse64bitint Message-ID: p4raw-id: //depot/perl@16768 --- diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh index 16c4e71..2155e49 100644 --- a/hints/solaris_2.sh +++ b/hints/solaris_2.sh @@ -474,6 +474,26 @@ EOM esac ;; esac +# gcc-2.8.1 on Solaris 8 with -Duse64bitint fails op/pat.t test 822 +# if we compile regexec.c with -O. Turn off optimization for that one +# file. See hints/README.hints , especially +# =head2 Propagating variables to config.sh, method 3. +# A. Dougherty May 24, 2002 +case "$use64bitint" in +"$define") + case "${gccversion}-${optimize}" in + 2.8*-O*) + # Honor a command-line override (rather unlikely) + case "$regexec_cflags" in + '') echo "Disabling optimization on regexec.c for gcc $gccversion" >&4 + regexec_cflags='optimize=' + echo "regexec_cflags='optimize=\"\"'" >> config.sh + ;; + esac + ;; + esac + ;; +esac EOCBU cat > UU/use64bitall.cbu <<'EOCBU'