summaryrefslogtreecommitdiff
path: root/gcc/gengtype.h
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2007-07-25 19:19:42 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2007-07-25 19:19:42 +0000
commite5cfc29f59efc9a8b8bc29c35ab160ae4d76c2b6 (patch)
tree25657045a0e1f680a00555098079cb87bb9d1384 /gcc/gengtype.h
parent741ac903839251f16d331f4d1c11f444eaec684f (diff)
cselib.c (entry_and_rtx_equal_p): Constify.
* cselib.c (entry_and_rtx_equal_p): Constify. * gengtype.c (output_mangled_typename, write_types, write_local): Likewise. * gengtype.h (const_type_p): New. * see.c (eq_descriptor_extension, hash_descriptor_extension): Constify. * tlink.c (scan_linker_output): De-constify. * tree-ssa-loop-im.c (memref_eq): Constify. * tree-ssa-structalias.c (const_shared_bitmap_info_t): New. (shared_bitmap_hash, shared_bitmap_eq): Constify. cp: * parser.c (cp_parser_string_literal, cp_parser_sizeof_operand): Constify. From-SVN: r126926
Diffstat (limited to 'gcc/gengtype.h')
-rw-r--r--gcc/gengtype.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/gengtype.h b/gcc/gengtype.h
index a23e2778e93..5fffb7ef2c9 100644
--- a/gcc/gengtype.h
+++ b/gcc/gengtype.h
@@ -31,6 +31,7 @@ struct fileloc {
/* Data types handed around within, but opaque to, the lexer and parser. */
typedef struct pair *pair_p;
typedef struct type *type_p;
+typedef const struct type *const_type_p;
typedef struct options *options_p;
/* Variables used to communicate between the lexer and the parser. */