--enable-debug and GCC 4.8 / -Og
| From: | Sebastian Bergmann | Date: | Sun, 07 Jul 2013 14:31:28 +0000 |
| Subject: | --enable-debug and GCC 4.8 / -Og | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-68074@lists.php.net to get a copy of this message | ||
From the release notes of GCC 4.8:
"A new general optimization level, -Og, has been introduced. It
addresses the need for fast compilation and a superior debugging
experience while providing a reasonable level of runtime performance.
Overall experience for development should be better than the default
optimization level -O0."
Currently "--enable-debug" sets "-O0". I think it would make sense to
use "-Og" instead when GCC >= 4.8.0 is used.
What do you think?