This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove compile-time conditionals from PVIV and PVNV body sizes.
authorNicholas Clark <nick@ccl4.org>
Mon, 16 Aug 2010 15:12:24 +0000 (17:12 +0200)
committerNicholas Clark <nick@ccl4.org>
Mon, 16 Aug 2010 15:12:24 +0000 (17:12 +0200)
commitbe37f89cb1f7abd72db04fba332a0dbf12f8d96b
treede0ac2d60de793d76b08af14e607599b0b6cfc9b
parentf175a6ef89290c8aae9bf1a2f98ab12aaa44292b
Remove compile-time conditionals from PVIV and PVNV body sizes.

Alignment issues that aggressive (but legal) sparc compilers tripped over
were resolved by 69ba284b5e077075. Hence the conditional sizing added in
889d28b2ea2c1751 is not needed, and prevents viable size optimisations.

(The compiler could "see" that the structure contained a double, hence the
alignment was constrained, hence it was legal to use a single 64 bit load on 2
adjacent 32 bit values. Which fails badly when the structure isn't actually
aligned, which was possible prior to 69ba284b5e077075.)
sv.c