In perl.git, the branch smoke-me/vincent-preserve-optimize-in-hints has been created
<http://perl5.git.perl.org/perl.git/commitdiff/32f718a4651e9fd0792feab2f86262edf59ec120?hp=0000000000000000000000000000000000000000> at 32f718a4651e9fd0792feab2f86262edf59ec120 (commit) - Log ----------------------------------------------------------------- commit 32f718a4651e9fd0792feab2f86262edf59ec120 Author: Vincent Pit <[email protected]> Date: Tue Mar 17 14:06:16 2015 -0300 Preserve OPTIMIZE in hints Some extensions hints files (B, Digest-MD5, PerlIO-via) forcefully overwrite OPTIMIZE in order to work around compiler mishaps with high level optimizations. However, this loses whatever extra flags are listed in OPTIMIZE, such as compiler warnings flags or PERL_POISON, and makes them difficult to run under a debugger since a minimal level of optimization (usually -O1) is always enforced. This has became visible recently with new XS handshake facility. Instead, we chose to just follow Storable's strategy of lowering the optimization level with a substitution, while keeping all the other flags untouched. If other compiler flags are deemed problematic (such as -mcpu/-march on gcc), they ought to be addressed separately. This fixes [RT #124038]. ----------------------------------------------------------------------- -- Perl5 Master Repository
