[pcre-dev] [Bug 1525] New: RunTest fails with GCC 4.9.1

Pàgina inicial
Delete this message
Autor: Shaun Jackman
Data:  
A: pcre-dev
Assumpte: [pcre-dev] [Bug 1525] New: RunTest fails with GCC 4.9.1
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1525
           Summary: RunTest fails with GCC 4.9.1
           Product: PCRE
           Version: 8.35
          Platform: x86-64
               URL: https://gist.github.com/0d8399572dc78e4ba349
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: sjackman@???
                CC: pcre-dev@???



PCRE fails make check RunTest when compiled with GCC 4.9.1, but passes on the
same system when compiled with GCC 4.4.7.

Please see the following error message and the linked gist.
https://gist.github.com/0d8399572dc78e4ba349

Configuration
=========

./configure --disable-dependency-tracking
--prefix=/home/sjackman/.linuxbrew/Cellar/pcre/8.35 --enable-utf8
--enable-pcre8 --enable-pcre16 --enable-pcre32 --enable-unicode-properties
--enable-pcregrep-libz --enable-pcregrep-libbz2 --enable-jit

GCC versions
=========

$ gcc-4.4 --version
gcc-4.4 (GCC) 4.4.7 20120313 (Red Hat 4.4.7-1)
$ gcc-4.9 --version
gcc-4.9 (Homebrew gcc 4.9.1 --with-sysroot --without-multilib) 4.9.1

RunTest.log
========

PCRE C library tests using test data from ./testdata
PCRE version 8.35 2014-04-04

---- Testing 8-bit library ----

Test 1: Main functionality (Compatible with Perl >= 5.10)
  OK
  OK with study
  OK with JIT study
Test 2: API, errors, internals, and non-Perl stuff (not UTF-8)
--- ./testdata/testoutput2      2014-03-10 09:28:08.000000000 -0700
+++ testtry     2014-09-04 09:55:24.000000000 -0700
@@ -5821,13 +5821,16 @@
 No match


/a{11111111111111111111}/I
-Failed: number too big in {} quantifier at offset 22
+Capturing subpattern count = 0
+No options
+First char = 'a'
+No need char

/(){64294967295}/I
-Failed: number too big in {} quantifier at offset 14
+Failed: regular expression is too large at offset 15

/(){2,4294967295}/I
-Failed: number too big in {} quantifier at offset 15
+Failed: numbers out of order in {} quantifier at offset 15

"(?i:a)(?i:b)(?i:c)(?i:d)(?i:e)(?i:f)(?i:g)(?i:h)(?i:i)(?i:j)(k)(?i:l)A\1B"I
Capturing subpattern count = 1


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email