This is the mail archive of the gcc-patches@gcc.gnu.org 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: [Test] Fix for PRPR53981


On 07/20/2012 05:23 AM, Anna Tikhonova wrote:
> Hi all,
> 
> I've fixed test which was failing on Android NDK
> 
> testsuite/ChangeLog:
> 2012-07-20  Anna Tikhonova  <anna.m.tikhonova@gmail.com>
> 
>         * gcc.dg/20020201-1.c: Include <stdlib.h>.
> 
> 
> Patch attached.
> 
> Ok for trunk & 4.7?

OK if you remove the declarations for abort, exit, rand, and srand;
they're no longer needed.  Presumably an alternate fix would be to
add "extern" before the declarations of rand and srand.

Janis


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