Bug #79358 [NEW]: JIT miscompile in composer

From: Date: Mon, 09 Mar 2020 10:52:22 +0000
Subject: Bug #79358 [NEW]: JIT miscompile in composer
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-225973@lists.php.net to get a copy of this message
From: nikic Operating system: PHP version: master-Git-2020-03-09 (Git) Package: opcache Bug Type: Bug Bug description:JIT miscompile in composer Description: ------------ The attached reduction is miscompiled, resulting in incorrect dependency resolution in composer. Test script: --------------- <?php function test($x, $y) { return ($x && $y && unimportant()) || ($x < 0 && unimportant()); } var_dump(test(1, [])); Expected result: ---------------- bool(false) Actual result: -------------- UNKNOWN:0 -- Edit bug report at https://bugs.php.net/bug.php?id=79358&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=79358&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=79358&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=79358&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=79358&r=needscript Try newer version: https://bugs.php.net/fix.php?id=79358&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=79358&r=support Expected behavior: https://bugs.php.net/fix.php?id=79358&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=79358&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=79358&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=79358&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=79358&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=79358&r=dst IIS Stability: https://bugs.php.net/fix.php?id=79358&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=79358&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=79358&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=79358&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=79358&r=mysqlcfg

« previous php.bugs (#225973) next »