From c13e8210479fd194128fed8742d8a491b686a404 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Fri, 31 Mar 2000 08:57:54 +0000 Subject: Makefile.in (emit-rtl.o): Depend on HASHTAB_H. * Makefile.in (emit-rtl.o): Depend on HASHTAB_H. * alias.c (reg_known_value): Add comments. (init_alias_analysis): Likewise. * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same address. (cse_basic_block): Fix typo in comment. * emit-rtl.c: Include hashtab.h. (const_int_htab): New variable. (const_int_htab_hash): New function. (const_int_htab_eq): Likewise. (rtx_htab_mark_1): Likewise. (rtx_htab_mark): Likewise. (gen_rtx_CONST_INT): Cache all CONST_INTs. (unshare_all_rtx): Fix formatting. (init_emit_once): Initialize const_int_htab. * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same address. * rtl.texi: Document the fact that all CONST_INTs with the same value are shared. From-SVN: r32844 --- gcc/rtl.texi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gcc/rtl.texi') diff --git a/gcc/rtl.texi b/gcc/rtl.texi index 06fe383..55208ae 100644 --- a/gcc/rtl.texi +++ b/gcc/rtl.texi @@ -1,4 +1,4 @@ -@c Copyright (C) 1988, 89, 92, 94, 97, 1998, 1999 Free Software Foundation, Inc. +@c Copyright (C) 1988, 89, 92, 94, 97, 1998, 1999, 2000 Free Software Foundation, Inc. @c This is part of the GCC manual. @c For copying conditions, see the file gcc.texi. @@ -2917,9 +2917,7 @@ referring to it. @cindex @code{const_int}, RTL sharing @item -There is only one @code{const_int} expression with value 0, only -one with value 1, and only one with value @minus{}1. -Some other integer values are also stored uniquely. +All @code{const_int} expressions with equal values are shared. @cindex @code{pc}, RTL sharing @item -- cgit v1.1