gcc-patches@gcc.gnu.org
[Top] [All Lists]

Tweak a couple of testcases

Subject: Tweak a couple of testcases
From: Eric Botcazou
Date: Tue, 10 Nov 2009 18:30:31 +0100
gcc.c-torture/execute/ipa-sra-2.c doesn't pass on SPARC64/Solaris 10 because 
it returns a value read from uninitialized memory.  gcc.dg/pr41963.c doesn't 
pass on SPARC/Solaris 9 because of a missing declaration for fabsf.

Tested on SPARC/Solaris 9, SPARC64/Solaris 10 and x86/Linux, applied on the 
mainline as obvious.


2009-11-10  Eric Botcazou  <ebotcazou@xxxxxxxxxxx>

        * gcc.c-torture/execute/ipa-sra-2.c: Use calloc instead of malloc.
        * gcc.dg/pr41963.c: Do not include math.h.  Declare fabsf manually.


-- 
Eric Botcazou

Attachment: p.diff
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>
  • Tweak a couple of testcases, Eric Botcazou <=