[pcre-dev] [Bug 1463] pcre-8.35 fails test with GCC 4.9

Kezdőlap
Üzenet törlése
Szerző: Simon McVittie
Dátum:  
Címzett: pcre-dev
Régi témák: [pcre-dev] [Bug 1463] New: pcre-8.35 fails test with GCC 4.9
Tárgy: [pcre-dev] [Bug 1463] pcre-8.35 fails test with GCC 4.9
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1463




--- Comment #6 from Simon McVittie <smcv@???> 2014-07-20 15:25:30 ---
> I am using gcc 4.9 myself without errors.


I think the configuration that exhibits this bug is gcc 4.9 with
-fstrict-overflow ("Allow the compiler to assume strict signed overflow
rules"), which is enabled by -O2, -O3 or -Os, and without -fwrapv ("assume that
signed arithmetic [...] wraps around using twos-complement representation").

Distributions typically compile libraries with -O2; that's certainly what
Debian does.


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