develooper Front page | perl.perl5.porters | Postings from May 2010

Re: 5.12: inplace sort <*> segfault (gcc 4.5.0 bug?)

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
May 11, 2010 08:31
Subject:
Re: 5.12: inplace sort <*> segfault (gcc 4.5.0 bug?)
Message ID:
20100511153116.GI2576@plum.flirble.org
On Tue, May 11, 2010 at 09:26:45AM -0600, Curtis Jewell wrote:
> On Tue, 11 May 2010 15:22 +0100, hv@crypt.org wrote:
> > hv@crypt.org wrote:
> > :Alex Hunsaker <badalex@gmail.com> wrote:
> > ::$  ./perl -Ilib/ -e 'sort glob("*")'
> > ::Segmentation fault
> > :
> > :I get the same result with gcc-4.5.0 here, only with -Dusemultiplicity.
> > [...]
> > :I'll try to distil this down to a bug report for gcc.
> > 
> > Now submitted as <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44081>.
> 
> And already marked as invalid there (it may have been distilled too far
> for them to notice the bug?)

I suspect that the reader/rejector assumed that the indexes for notnull()
start at 0. They start at 1. If you make that mistake, you would conclude
(wrongly) what the rejector did.

Nicholas Clark

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About