On Wed, May 05, 2010 at 11:59:51AM +0300, Niko Tyni wrote:
> Package: perl
> Version: 5.12.0-1
> Severity: important
> User: [email protected]
> Usertags: perl-5.12-transition
> perl -e '"-2" =~ /(.+)/; @foo=(); push @foo, $_ for $1..undef; print @foo ?
> "ok\n" : "not ok\n"'
>
> Compiling sv.c with -O0 instead of -O2 fixes it, so it may well be a
> compiler bug. Will investigate more.
Bisecting with
#pragma GCC optimize ("0")
shows the function that breaks is Perl_sv_2iv_flags().
All tests pass without -Dusemorebits, which is equivalent to -Duse64bitint
-Duselongdouble. Most probably it's -Duse64bitint that breaks. I'll test
that next.
--
Niko Tyni [email protected]
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]