diff options
| author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-12 00:38:08 +0000 |
|---|---|---|
| committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-12 00:38:08 +0000 |
| commit | 1beb4fb80cae66742c8d24a6e7eb628a984e91e9 (patch) | |
| tree | 69277dc5ccf229b19ec0928b0916e77d57b2f1e7 | |
| parent | 39b74c32ec094cbf56b0a86dbb6a91136d205b80 (diff) | |
| download | ppe42-gcc-1beb4fb80cae66742c8d24a6e7eb628a984e91e9.tar.gz ppe42-gcc-1beb4fb80cae66742c8d24a6e7eb628a984e91e9.zip | |
* doc/c-tree.texi (Expression trees): Add VTABLE_REF.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46218 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/doc/c-tree.texi | 12 |
2 files changed, 16 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c9753ca6217..ca80a417baf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2001-10-11 Richard Henderson <rth@redhat.com> + * doc/c-tree.texi (Expression trees): Add VTABLE_REF. + +2001-10-11 Richard Henderson <rth@redhat.com> + * dwarf2out.c (add_const_value_attribute): If long < HOST_WIDE_INT, fall back to add_AT_long_long for large CONST_INT. diff --git a/gcc/doc/c-tree.texi b/gcc/doc/c-tree.texi index 85962c7a585..9eccc0d5019 100644 --- a/gcc/doc/c-tree.texi +++ b/gcc/doc/c-tree.texi @@ -1741,6 +1741,7 @@ This macro returns the attributes on the type @var{type}. @tindex EXIT_EXPR @tindex CLEANUP_POINT_EXPR @tindex ARRAY_REF +@tindex VTABLE_REF The internal representation for expressions is for the most part quite straightforward. However, there are a few facts that one must bear in @@ -2253,4 +2254,15 @@ list. In this case, the value of the expression is the @code{VAR_DECL} given by the third operand to the @code{AGGR_INIT_EXPR}; constructors do not return a value. +@item VTABLE_REF +A @code{VTABLE_REF} indicates that the interior expression computes +a value that is a vtable entry. It is used with @option{-fvtable-gc} +to track the reference through to front end to the middle end, at +which point we transform this to a @code{REG_VTABLE_REF} note, which +survives the balance of code generation. + +The first operand is the expression that computes the vtable reference. +The second operand is the @code{VAR_DECL} of the vtable. The third +operand is an @code{INTEGER_CST} of the byte offset into the vtable. + @end table |

