summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2005-01-22 21:45:02 +0200
committerNicholas Clark <nick@ccl4.org>2005-01-22 17:51:13 +0000
commit61ba5045923c2764dd186c0e8c1f665460baf428 (patch)
tree1c628e4f36b79685f9ffe587a48cf71e3a462815 /hints
parentaf3babe40f275e6db9af8c90e109cc84e4f526b3 (diff)
downloadperl-61ba5045923c2764dd186c0e8c1f665460baf428.tar.gz
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
Diffstat (limited to 'hints')
-rw-r--r--hints/dec_osf.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh
index 851ac24ad7..e0380989cc 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 <<EOM >&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) ;;