[Merge] Fix bugs involving compilation and ro SVs
authorFather Chrysostomos <sprout@cpan.org>
Sun, 23 Jun 2013 06:17:21 +0000 (23:17 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 23 Jun 2013 06:17:21 +0000 (23:17 -0700)
commit68f2a74cad3ce0a14a2d8b77ee699bff1d7395f5
tree8649aba1653f239978655f4019f0cc08f06181eb
parent48c357fd49c074d84fc228fa5b89b851bd74d637
parentee3818ca2c5e172c9e31aad9432eda08954daf26
[Merge] Fix bugs involving compilation and ro SVs

There was an exception in sv_force_normal_flags that allowed read-only
scalars to be modified at compile time (present since 8990e30710, aka
\perl 5.0 alpha 6), which is convenient for modifying op trees.

Unfortunately, much of the code relying on it was simply buggy.  So
this commit fixes those bugs and removes the exception.  In some cases
the bug fixes led to other bug fixes, not necessarily related to
sv_force_normal/SvREADONLY.