This is the mail archive of the gcc-regression@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]

Re: GCC build failed with your patch on 2000-08-24T21:35:00Z.


Geoff Keating <geoffk@cygnus.com> writes:

> Looks like the automated tester is missing a ChangeLog or two.
> 
> Anyway, the problem is this change:
> 
> 2000-08-24  Greg McGary  <greg@mcgary.org>
> 
>         * libiberty/random.c (end_ptr): Likewise.
> 
> because libiberty/random.c does not include libiberty.h.  It wouldn't
> have appeared under linux because libiberty/random.c isn't used there.
> 
> This patch fixes it.  Tested under linux by hacking config.cache to
> have ac_cv_func_random=${ac_cv_func_random=no}, reconfiguring, and
> building libiberty.  I can't see anything that actually uses this
> function, so I'll just hope it works.

Thanks.  I already committed a patch to just back it out.
On the grounds that the value added by using ARRAY_SIZE in this
file is too small to bother pulling in libiberty.h.

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