This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: gcc/dependence.c problem on HP-UX 10.20
- To: Alexandre Oliva <aoliva at redhat dot com>
- Subject: Re: gcc/dependence.c problem on HP-UX 10.20
- From: Albert Chin-A-Young <china at thewrittenword dot com>
- Date: Wed, 23 Aug 2000 15:51:59 -0500
- Cc: gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- References: <20000823115735.A21020@postal.il.thewrittenword.com> <orlmxnq09y.fsf@guarana.lsd.ic.unicamp.br>
On Wed, Aug 23, 2000 at 03:51:05PM -0300, Alexandre Oliva wrote:
> On Aug 23, 2000, Albert Chin-A-Young <china@thewrittenword.com> wrote:
>
> > With the HP-UX 10.20 commercial C compiler:
> > cc -Ae -c -DIN_GCC -g -DHAVE_CONFIG_H -I. -I../../gcc
> > -I../../gcc/config -I../../gcc/../include ../../gcc/dependence.c
> > cc: "../../gcc/dependence.c", line 199: error 1501: Only the first
> > dimension of an array may be omitted.
>
> > Line 199 of gcc/dependence.c:
> > static void ziv_test PARAMS ((subscript[], subscript[],
> > enum direction_type[][], int[][], loop*, int));
>
> Yep, this is bogus. Please try this patch. I've only tested it with
> GCC, so I'd appreciate it if you could run it through the compiler
> that (correctly) rejects the code and let me know if the patch fixes
> all instances of the problem.
It works fine on HP-UX 10.20 and 11.00 with the HP-UX C compiler.
--
albert chin (china@thewrittenword.com)