tree.h (VOID_TYPE_P): Don't look at the TYPE_MAIN_VARIANT of an error_type_node.

* tree.h (VOID_TYPE_P): Don't look at the TYPE_MAIN_VARIANT
of an error_type_node.

From-SVN: r34475
This commit is contained in:
Geoffrey Keating 2000-06-09 18:02:21 +00:00
parent 4d8a1dd6c6
commit e7cd085f5c
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2000-06-09 Geoff Keating <geoffk@cygnus.com>
* tree.h (VOID_TYPE_P): Don't look at the TYPE_MAIN_VARIANT
of an error_type_node.
Fri Jun 9 20:35:13 2000 Denis Chertykov <denisc@overta.ru>
* config/avr/avr.c (asm_output_section_name): bugfix.
@ -319,12 +324,12 @@ Mon Jun 5 06:46:28 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* Makefile.in (intl.*): Honor non-zero exit codes in the intl
subdir.
S2000-06-03 Geoff Keating <geoffk@cygnus.com>
2000-06-03 Geoff Keating <geoffk@cygnus.com>
* alias.c (record_component_aliases): Don't inspect
DECL_NONADDRESSABLE_P of non-FIELD_DECL components of structures.
at Jun 3 19:05:30 2000 Michael Meissner <meissner@redhat.com>
Sat Jun 3 19:05:30 2000 Michael Meissner <meissner@redhat.com>
* ifcvt.c (process_insns): If IFCVT_MODIFY_INSN is defined, call
it with the pattern to do machine dependent work.

View File

@ -454,7 +454,7 @@ extern void tree_class_check_failed PARAMS ((const tree, char,
#define COMPLETE_TYPE_P(NODE) (TYPE_SIZE (NODE) != NULL_TREE)
/* Nonzero if this type is the (possibly qualified) void type. */
#define VOID_TYPE_P(NODE) (TYPE_MAIN_VARIANT (NODE) == void_type_node)
#define VOID_TYPE_P(NODE) (TREE_CODE (NODE) == VOID_TYPE)
/* Nonzero if this type is complete or is cv void. */
#define COMPLETE_OR_VOID_TYPE_P(NODE) \