Commit 319d9434 by Michael Meissner Committed by Michael Meissner

Fix sanity check

From-SVN: r29845
parent 2224ac3c
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> Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
* genrecog.c (add_to_sequence): Verify operand to label_ref is * genrecog.c (add_to_sequence): Verify operand to label_ref is
......
/* Virtual array support. /* Virtual array support.
Copyright (C) 1998 Free Software Foundation, Inc. Copyright (C) 1998, 1999 Free Software Foundation, Inc.
Contributed by Cygnus Solutions. Contributed by Cygnus Solutions.
This file is part of GNU CC. This file is part of GNU CC.
...@@ -163,7 +163,7 @@ extern varray_type varray_grow PROTO((varray_type, size_t)); ...@@ -163,7 +163,7 @@ extern varray_type varray_grow PROTO((varray_type, size_t));
#define VARRAY_SIZE(VA) ((VA)->num_elements) #define VARRAY_SIZE(VA) ((VA)->num_elements)
/* Check for VARRAY_xxx macros being in bound. */ /* 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, extern void varray_check_failed PROTO ((varray_type, size_t,
const char *, int, const char *, int,
const char *)) ATTRIBUTE_NORETURN; const char *)) ATTRIBUTE_NORETURN;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment