ID: 49952
Updated by: [email protected]
Reported By: onzi at ustrem dot org
-Status: Open
+Status: Feedback
Bug Type: hash related
Operating System: AIX 6.1
PHP Version: 5.2.11
New Comment:
What errors?
Previous Comments:
------------------------------------------------------------------------
[2009-10-22 07:59:27] onzi at ustrem dot org
Description:
------------
When I use -O2, -O3 or -O5 flags there are two errors.
Problem file is ext/hash/php_hash_tiger.h.
Reproduce code:
---------------
typedef struct {
php_hash_uint64 state[3];
php_hash_uint64 passed;
unsigned char passes:1;
unsigned char length:7;
unsigned char buffer[64];
} PHP_TIGER_CTX;
Expected result:
----------------
I've changed to this and now there are no errors
typedef struct {
php_hash_uint64 state[3];
php_hash_uint64 passed;
unsigned int passes:1;
unsigned int length:7;
unsigned char buffer[64];
} PHP_TIGER_CTX;
Actual result:
--------------
Is that correct or I will have problem other modules?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49952&edit=1