diff options
author | Mark Mitchell <mark@codesourcery.com> | 2000-03-31 08:57:54 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2000-03-31 08:57:54 +0000 |
commit | c13e8210479fd194128fed8742d8a491b686a404 (patch) | |
tree | af3dfff0cabf48c3e9e50b45078202db74413026 /gcc/rtl.texi | |
parent | cca8e0ff228daba37afc9279721c1fa04faa0269 (diff) | |
download | gcc-c13e8210479fd194128fed8742d8a491b686a404.zip gcc-c13e8210479fd194128fed8742d8a491b686a404.tar.gz gcc-c13e8210479fd194128fed8742d8a491b686a404.tar.bz2 |
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
Diffstat (limited to 'gcc/rtl.texi')
-rw-r--r-- | gcc/rtl.texi | 6 |
1 files changed, 2 insertions, 4 deletions
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 |