This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Test] Fix for PRPR53981
- From: Janis Johnson <janis_johnson at mentor dot com>
- To: Anna Tikhonova <anna dot m dot tikhonova at gmail dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, <kirill dot yukhin at gmail dot com>
- Date: Tue, 24 Jul 2012 11:29:53 -0700
- Subject: Re: [Test] Fix for PRPR53981
- References: <CAE6XQqirZuWRCVYLr+czq=mB_RjaZ2LVkG5VZLi2ybCAXnp+Ow@mail.gmail.com>
- Reply-to: <janisjo at codesourcery dot com>
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