# New Ticket Created by  Elizabeth Mattijsen 
# Please include the string:  [perl #128357]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=128357 >


Commit https://github.com/rakudo/rakudo/commit/65e1b54 causes the following 
code to segfault:

my $sum = 10082800;for (4601...4900) -> $term {   $sum += $term;   my $sq = 
floor(sqrt($sum));   my $factors = (1..$sq).grep(-> $x { $sum % $x == 0} 
).elems * 2; }; say ‘hi’

This seems to be related to the use of nqp::eqaddr instead of =:= in count-only.

See discussion starting at http://irclog.perlgeek.de/perl6/2016-06-09#i_12637583

Reply via email to