Patch pragmaoptoff for Class/Object related Bug #60879
Patch version 2012-02-20 10:53 UTC
Return to Bug #60879 |
Download this patch
Patch Revisions:
Developer: pajoye@php.net
--- php-5.4.0RC8-src/ext/standard/var_unserializer.c 2012-01-01 14:15:04.950495000 +0100
+++ php-5.4.0RC8-60879/ext/standard/var_unserializer.c 2012-02-20 08:50:01.353625000 +0100
@@ -375,6 +375,7 @@
return elements;
}
+#pragma optimize("", off)
static inline int object_common2(UNSERIALIZE_PARAMETER, long elements)
{
zval *retval_ptr = NULL;
@@ -399,6 +400,7 @@
return finish_nested_data(UNSERIALIZE_PASSTHRU);
}
+#pragma optimize("", on)
PHPAPI int php_var_unserialize(UNSERIALIZE_PARAMETER)
{
--- php-5.4.0RC8-src/ext/standard/var_unserializer.re 2012-01-01 14:15:04.950495000 +0100
+++ php-5.4.0RC8-60879/ext/standard/var_unserializer.re 2012-02-20 08:50:37.728625000 +0100
@@ -379,6 +379,7 @@
return elements;
}
+#pragma optimize("", off)
static inline int object_common2(UNSERIALIZE_PARAMETER, long elements)
{
zval *retval_ptr = NULL;
@@ -403,6 +404,7 @@
return finish_nested_data(UNSERIALIZE_PASSTHRU);
}
+#pragma optimize("", on)
PHPAPI int php_var_unserialize(UNSERIALIZE_PARAMETER)
{
|