This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Broken C array autosizing breaks glibc compile
- To: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Subject: Re: Broken C array autosizing breaks glibc compile
- From: Andreas Jaeger <aj at suse dot de>
- Date: 22 Sep 2000 08:12:47 +0200
- Cc: gcc-bugs at gcc dot gnu dot org, libc-alpha at sources dot redhat dot com
- References: <00092123184600.14133@enzo.bigblue.local>
>>>>> Franz Sirl writes:
> Hi,
> with current CVS gcc at least PPC and alpha have problems with compiling a
> locale test in the glibc testsuite. Inspection shows that gcc miscompiles
> this routine:
> struct keyword_t
> {
> const char *name;
> int token;
> int symname_or_ident;
> int locale;
> int base;
> int group;
> int list;
> };
> static const struct keyword_t *
> repertoiremap_hash (const char *str, unsigned int len)
> {
> static const struct keyword_t wordlist[0] =
Please try:
wordlist[] instead of wordlist[0].
Does this fix the bug? Please tell me and I'll fix glibc.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj