This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc/dependence.c problem on HP-UX 10.20
- To: gcc at gcc dot gnu dot org
- Subject: gcc/dependence.c problem on HP-UX 10.20
- From: Albert Chin-A-Young <china at thewrittenword dot com>
- Date: Wed, 23 Aug 2000 11:57:36 -0500
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.
cc: "../../gcc/dependence.c", line 199: error 1501: Only the first
dimension of an array may be omitted.
cc: "../../gcc/dependence.c", line 201: error 1501: Only the first
dimension of an array may be omitted.
cc: "../../gcc/dependence.c", line 201: error 1501: Only the first
dimension of an array may be omitted.
cc: "../../gcc/dependence.c", line 204: error 1501: Only the first
dimension of an array may be omitted.
cc: "../../gcc/dependence.c", line 204: error 1501: Only the first
dimension of an array may be omitted.
cc: "../../gcc/dependence.c", line 207: error 1501: Only the first
dimension of an array may be omitted.
cc: "../../gcc/dependence.c", line 207: 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));
I tried a test compile of:
static void foo (int[][]);
with Solaris CC v5, Digital UNIX CC, IRIX 7.3.1.1m CC, HP-UX 11.00 CC
and only Solaris CC v5 would accept the above. GCC 2.95.2 -ansi
-pedantic accepted it.
--
albert chin (china@thewrittenword.com)