This is the mail archive of the gcc-patches@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/dependence.c problem on HP-UX 10.20


 > From: Alexandre Oliva <aoliva@redhat.com>
 > 
 > 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.
 > 
 > Ok to install?

I had this problem on irix6.2 with cc.  Your patch fixed it and
allowed stage1 to complete.

IMHO, it satisfies the "obviously correct" rule, please install it.

		Thanks,
		--Kaveh
--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions

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