Re: Re: why not use strtol instead of php_filter_parse_{int,hex,octal}?

From: Date: Sat, 27 Feb 2010 17:47:17 +0000
Subject: Re: Re: why not use strtol instead of php_filter_parse_{int,hex,octal}?
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-47060@lists.php.net to get a copy of this message
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

« previous php.internals (#47060) next »