diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/varray.h | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7029258..8c5fb11 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com> + + * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in + case somebody tries to compile --enable-checking code with gcc + 1.34 or such. + Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com> * genrecog.c (add_to_sequence): Verify operand to label_ref is diff --git a/gcc/varray.h b/gcc/varray.h index 5a889bf..53b164b 100644 --- a/gcc/varray.h +++ b/gcc/varray.h @@ -1,5 +1,5 @@ /* Virtual array support. - Copyright (C) 1998 Free Software Foundation, Inc. + Copyright (C) 1998, 1999 Free Software Foundation, Inc. Contributed by Cygnus Solutions. This file is part of GNU CC. @@ -163,7 +163,7 @@ extern varray_type varray_grow PROTO((varray_type, size_t)); #define VARRAY_SIZE(VA) ((VA)->num_elements) /* Check for VARRAY_xxx macros being in bound. */ -#if defined ENABLE_CHECKING && (__GNUC__ > 2 || __GNUC_MINOR__ > 6) +#if defined ENABLE_CHECKING && (__GNUC__ > 2 || (__GNUC__ == 2 &&__GNUC_MINOR__ > 6)) extern void varray_check_failed PROTO ((varray_type, size_t, const char *, int, const char *)) ATTRIBUTE_NORETURN; |