In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/1197364c62629966dfaf5c3da0a72ea051ed91c2?hp=824c873a3af03804d9c0bd54c7ddbcc7ee2b0e6a>

- Log -----------------------------------------------------------------
commit 1197364c62629966dfaf5c3da0a72ea051ed91c2
Author: Niko Tyni <[email protected]>
Date:   Tue Jul 8 23:04:30 2014 +0300

    Downgrade the optimization of regcomp.c on mips and mipsel due to a gcc-4.9 
bug
    
      % cat ~/t.pl
      print ( (q{foo'} =~ /[^']+'/) ?  "ok\n" : "not ok\n" );
      % perl ~/t.pl
      ok
      % ./miniperl ~/t.pl
      not ok
    
    This only happens with -fPIC -ftree-vrp builds.
    It is a regression from gcc-4.8.
    
    Bug-Debian: http://bugs.debian.org/754054
    Patch-Name: debian/regcomp-mips-optim.diff
-----------------------------------------------------------------------

Summary of changes:
 cflags.SH | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/cflags.SH b/cflags.SH
index 031b780..bdb4bad 100755
--- a/cflags.SH
+++ b/cflags.SH
@@ -455,6 +455,11 @@ for file do
     # or customize here
 
     case "$file" in
+    regcomp) : work around http://bugs.debian.org/754054
+        case $archname in
+        mips-*|mipsel-*)
+            optimize="$optimize -fno-tree-vrp";;
+        esac;;
     *) ;;
 
     # Customization examples follow.

--
Perl5 Master Repository

Reply via email to