Fix sanity check

From-SVN: r29845
This commit is contained in:
Michael Meissner 1999-10-06 20:14:28 +00:00 committed by Michael Meissner
parent 2224ac3c4e
commit 319d943479
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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;