Re: com php-src: Fix for failing tests. gcc 4.8.3 would optimize away the assigment.: ext/mysqlnd/mysqlnd_ps_codec.c
| From: | Remi Collet | Date: | Thu, 22 Jan 2015 16:03:24 +0000 |
| Subject: | Re: com php-src: Fix for failing tests. gcc 4.8.3 would optimize away the assigment.: ext/mysqlnd/mysqlnd_ps_codec.c | ||
| References: | 1 2 3 4 5 6 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-84320@lists.php.net to get a copy of this message | ||
Le 08/01/2015 18:41, Dmitry Stogov a écrit :
> yeah, the problem is fixed.
It seems the PR 983 have only be applied on master.
Same problem exists on 5.5 and 5.6
(and in upcoming 5.5.21 5.6.5)
Remi.
Without "volatile"
$ size modules/mysqlnd.so
text data bss dec hex filename
234812 20720 6720 262252 4006c modules/mysqlnd.so
With
$ size modules/mysqlnd.so
text data bss dec hex filename
2329031 20808 6728 2356567 23f557 modules/mysqlnd.so
size * 10
Remi.