Date: Sat, 18 Mar 2006 12:39:22 GMT From: Krzysztof Nakielski <nakiel@hard-core.pl> To: freebsd-gnats-submit@FreeBSD.org Subject: gnu/94640: php broken bit operator Message-ID: <200603181239.k2ICdMwU029116@www.freebsd.org> Resent-Message-ID: <200603181240.k2ICeJ5v055861@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 94640 >Category: gnu >Synopsis: php broken bit operator >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 18 12:40:18 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Krzysztof Nakielski >Release: FreeBSD 6.0-RELEASE-p5 i386 >Organization: Krzysztof Nakielski >Environment: FreeBSD robol 6.0-RELEASE-p5 FreeBSD 6.0-RELEASE-p5 #0: Mon Mar 6 10:07:04 UTC 2006 admin@robol:/usr/obj/usr/src/sys/ROBOL i386 >Description: PHP 4 and 5 build with system gcc (gcc version 3.4.4 [FreeBSD] 20050518) or 3.4 from ports (gcc version 3.4.6 20060221 (prerelease) [FreeBSD]) returns wrong value % php -r 'var_dump(-4653896912^1);' int(-2147483647) The same php source build with gcc295 or gcc32 from ports returns correct value: % php -r 'var_dump(-4653896912^1);' int(-358929615) Problem doesn't exist on 5.x gcc 3.4.2 >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603181239.k2ICdMwU029116>