Bug #79654 [Com]: improper member use in zend_inheritance.c

From: Date: Sat, 30 May 2020 12:47:22 +0000
Subject: Bug #79654 [Com]: improper member use in zend_inheritance.c
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-227247@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79654&edit=1 ID: 79654 Comment by: g dot fischer at ah-consulting dot net Reported by: g dot fischer at ah-consulting dot net Summary: improper member use in zend_inheritance.c Status: Open Type: Bug Package: Compile Failure Operating System: solaris 11 PHP Version: 7.4.6 Block user comment: N Private report: N New Comment: correct but it doesn't matter because the same error comes up with later versions as well. it seems although anonymous structs and unions are supported, nesting them like zend_inheritance.c does is not. so just to be sure it's a compiler specific issue i ran it through gcc and ... /mnt/x36/dev/php-7.4.6/ext/standard/base64.c:855:1: internal compiler error: in simplify_binary_operation_1, at simplify-rtx.c:2966 oh my, that's a first. i don't remember having a program which managed to stop one and crash another compiler. 7.4 is definitely not for me. Previous Comments: ------------------------------------------------------------------------ [2020-05-30 12:22:44] cmb@php.net > sunpro 5.12 According to Wikipedia[1], sunpro 5.12 is part of Oracle Solaris Studio 12.3, which has been released in December 2011. [1] <https://en.wikipedia.org/wiki/Oracle_Developer_Studio#History> ------------------------------------------------------------------------ [2020-05-30 09:54:10] g dot fischer at ah-consulting dot net it does support both. ------------------------------------------------------------------------ [2020-05-30 09:49:12] nikic@php.net I have no idea what this error is supposed to mean. Does this compiler not support anonymous unions and structs or something? ------------------------------------------------------------------------ [2020-05-30 09:44:31] g dot fischer at ah-consulting dot net Description: ------------ solaris 11.2, x86, sunpro 5.12. "/mnt/x36/dev/php-7.4.6/Zend/zend_inheritance.c", line 2299: improper member use: child_fn "/mnt/x36/dev/php-7.4.6/Zend/zend_inheritance.c", line 2301: improper member use: child_fn "/mnt/x36/dev/php-7.4.6/Zend/zend_inheritance.c", line 2304: improper member use: parent_fn "/mnt/x36/dev/php-7.4.6/Zend/zend_inheritance.c", line 2306: improper member use: parent_fn "/mnt/x36/dev/php-7.4.6/Zend/zend_inheritance.c", line 2308: improper member use: always_error "/mnt/x36/dev/php-7.4.6/Zend/zend_inheritance.c", line 2318: improper member use: child_prop "/mnt/x36/dev/php-7.4.6/Zend/zend_inheritance.c", line 2319: improper member use: parent_prop "/mnt/x36/dev/php-7.4.6/Zend/zend_inheritance.c", line 2338: improper member use: child_fn "/mnt/x36/dev/php-7.4.6/Zend/zend_inheritance.c", line 2338: improper member use: parent_fn "/mnt/x36/dev/php-7.4.6/Zend/zend_inheritance.c", line 2346: improper member use: child_fn "/mnt/x36/dev/php-7.4.6/Zend/zend_inheritance.c", line 2346: improper member use: parent_fn "/mnt/x36/dev/php-7.4.6/Zend/zend_inheritance.c", line 2347: improper member use: always_error "/mnt/x36/dev/php-7.4.6/Zend/zend_inheritance.c", line 2353: improper member use: parent_prop "/mnt/x36/dev/php-7.4.6/Zend/zend_inheritance.c", line 2353: improper member use: child_prop "/mnt/x36/dev/php-7.4.6/Zend/zend_inheritance.c", line 2359: improper member use: child_prop "/mnt/x36/dev/php-7.4.6/Zend/zend_inheritance.c", line 2359: improper member use: parent_prop "/mnt/x36/dev/php-7.4.6/Zend/zend_inheritance.c", line 2416: improper member use: child_fn "/mnt/x36/dev/php-7.4.6/Zend/zend_inheritance.c", line 2416: improper member use: parent_fn "/mnt/x36/dev/php-7.4.6/Zend/zend_inheritance.c", line 2419: improper member use: child_fn "/mnt/x36/dev/php-7.4.6/Zend/zend_inheritance.c", line 2419: improper member use: parent_fn "/mnt/x36/dev/php-7.4.6/Zend/zend_inheritance.c", line 2420: improper member use: always_error "/mnt/x36/dev/php-7.4.6/Zend/zend_inheritance.c", line 2422: improper member use: child_prop "/mnt/x36/dev/php-7.4.6/Zend/zend_inheritance.c", line 2422: improper member use: parent_prop cc: acomp failed for /mnt/x36/dev/php-7.4.6/Zend/zend_inheritance.c happens with 7.4.7rc1 as well. 7.3.x and older are fine. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=79654&edit=1

« previous php.bugs (#227247) next »