This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Tru64: align fp policies of gcc and cc
authorJarkko Hietaniemi <jhi@iki.fi>
Sat, 5 Apr 2008 04:16:17 +0000 (07:16 +0300)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Sat, 5 Apr 2008 11:38:12 +0000 (11:38 +0000)
Message-Id: <200804050116.m351GH5P042062@kosh.hut.fi>

p4raw-id: //depot/perl@33647

hints/dec_osf.sh

index 510537b..fd01003 100644 (file)
@@ -290,7 +290,7 @@ esac
 
 # we want dynamic fp rounding mode, and we want ieee exception semantics
 case "$isgcc" in
-gcc)   ;;
+gcc)   ccflags="$ccflags -mfp-rounding-mode=d -mieee" ;;
 *)     case "$_DEC_cc_style" in
        new)    ccflags="$ccflags -fprm d -ieee"        ;;
        esac