This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: RFA: Fix rtl-optimization/57425 (SPEC perl problem on MIPS)


I created a smaller test case for this problem and have submitted a GCC bugzilla report (57921).
After looking at it I am not sure if the bug is in GCC or if it is a bug in the perl source code.

Steve Ellcey
From: Steve Ellcey  []
Sent: Friday, July 12, 2013 3:22 PM
Subject: Re: RFA: Fix rtl-optimization/57425 (SPEC perl problem on MIPS)


Has anyone reported any problems to you about this patch?  I am running into
a problem running the perl benchmark from SPEC2006 and I have tracked it down
to this June 16 patch (SVN 200133,
GIT ddba76b84c757d93b4247713d558724776149b62).  I am building a GCC cross
compiler running on x86 linux and targeting mips-mti-linux-gnu.

I haven't been able to cut down perl into a smaller test case yet but starting
with this version of GCC, if I build perl with -O2 or -O3 and then run it with
this perl input:

% cat
    eval {
    use Math::BigInt;
    $y = pack('w*', Math::BigInt::->new(5000000000));

I get:

% ./perlbench_base.sellcey_reload
*** Error in `./perlbench_base.sellcey_reload': malloc(): memory corruption (fast): 0x00642390 ***

and perl seems to go into an infinite loop.  Before your change perl
ran and exited cleanly.  I will try to create a smaller example but I wanted
to see if you (or someone else on gcc-patches) was seeing anything like
this on any other targets.

Steve Ellcey

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]