Thanks! I've removed declarations. New patch attached.
testsuite/ChangeLog: 2012-07-20 Anna Tikhonova <anna.m.tikhon...@gmail.com> * gcc.dg/20020201-1.c: Remove declarations for exit, abort, rand, srand. Include <stdlib.h>. 2012/7/24 Janis Johnson <janis_john...@mentor.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.tikhon...@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
20020201-1.p
Description: Binary data