Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47060 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18158 invoked from network); 27 Feb 2010 17:50:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Feb 2010 17:50:41 -0000 X-Host-Fingerprint: 200.77.113.19 unknown Received: from [200.77.113.19] ([200.77.113.19:1368] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D0/10-17288-07B598B4 for ; Sat, 27 Feb 2010 12:50:41 -0500 Message-ID: To: internals@lists.php.net Followup-To: php.internals Lines: 16 Date: Sat, 27 Feb 2010 11:47:17 -0600 References: <7B.19.00376.96CD18B4@pb1.pair.com> <05.0C.00376.39F038B4@pb1.pair.com> <0D.F0.00376.23B238B4@pb1.pair.com> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Posted-By: 200.77.113.19 Subject: Re: [PHP-DEV] Re: why not use strtol instead of php_filter_parse_{int,hex,octal}? From: geissert@php.net (Raphael Geissert) Derick Rethans wrote: > On Mon, 22 Feb 2010, Raphael Geissert wrote: >> >> gcc 4.4's optimiser removes the overflow check present in >> php_filter_parse_int and ZEND_HANDLE_NUMERIC (but I can't touch that part >> of the code anyway...) which prevents the overflow from being detected. > > Doesn't this sound like a GCC bug to you then? > Sorry for the late response. No, it is not a bug, please refer to Sean's message. Cheers, -- Raphael Geissert