From: Jarkko Hietaniemi Date: Sat, 22 Jan 2005 19:45:02 +0000 (+0200) Subject: Re: Smoke [5.9.2] 23792 FAIL(F) osf1 V5.1 (21264A)/4 cpu) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=61ba5045923c2764dd186c0e8c1f665460baf428;p=p5sagit%2Fp5-mst-13.2.git Re: Smoke [5.9.2] 23792 FAIL(F) osf1 V5.1 (21264A)/4 cpu) Message-ID: <41F2911E.8090204@iki.fi> (drop optimisation on pp_pack.c for gcc on osf1 to -O1) p4raw-id: //depot/perl@23862 --- diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh index 851ac24..e038098 100644 --- a/hints/dec_osf.sh +++ b/hints/dec_osf.sh @@ -184,6 +184,23 @@ toke_cflags='optimize=-O2' ;; esac +# The patch 23787 +# http://public.activestate.com/cgi-bin/perlbrowse?patch=23787 +# broke things for gcc (at least gcc 3.3) so that many of the +# pack() checksum tests for formats L, j, J, especially when combined +# with the < and > specifiers, started to fail if compiled with -O3. +case "$isgcc" in +gcc) + cat <&4 + +I'm lowering the optimisation level on pp_pack.c because gcc is known +to misoptimise certain parts of it in Tru64. + +EOM +pp_pack_cflags='optimize=-O1' +;; +esac + # we want dynamic fp rounding mode, and we want ieee exception semantics case "$isgcc" in gcc) ;;