summaryrefslogtreecommitdiffstats
path: root/10756.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-03-14 10:11:41 +0100
committerRemi Collet <remi@php.net>2023-03-14 10:11:41 +0100
commit0758ac5eb01378d03b6f07fc86f8aaa74bc64487 (patch)
tree8fbc88820b551410f055b0660436d37afcd83ad6 /10756.patch
parente1066845e78ed36537d2defd4763ddc29ce32a20 (diff)
update patches
Diffstat (limited to '10756.patch')
-rw-r--r--10756.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/10756.patch b/10756.patch
new file mode 100644
index 0000000..b980bf7
--- /dev/null
+++ b/10756.patch
@@ -0,0 +1,21 @@
+From 9f0022064677d180742642f264096a46c09269d3 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Fri, 3 Mar 2023 11:12:13 +0100
+Subject: [PATCH] remove assert raising strange behavior with GCC 10
+
+---
+ ext/reflection/php_reflection.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
+index 9a9685e7292e..42fec082c173 100644
+--- a/ext/reflection/php_reflection.c
++++ b/ext/reflection/php_reflection.c
+@@ -1748,7 +1748,6 @@ ZEND_METHOD(ReflectionFunctionAbstract, getClosureUsedVariables)
+
+ zend_op *opline = ops->opcodes + ops->num_args;
+ if (ops->fn_flags & ZEND_ACC_VARIADIC) {
+- ZEND_ASSERT(opline->opcode == ZEND_RECV_VARIADIC);
+ opline++;
+ }
+