diff options
author | Mark Mitchell <mark@codesourcery.com> | 2000-11-08 19:25:36 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2000-11-08 19:25:36 +0000 |
commit | 6990885199c0d4d79f823fd82613bd6d1e0ff105 (patch) | |
tree | a26853e6ee8663f73e960e035f020b90177f221c /gcc | |
parent | c39c0db36cf7fa0ff4c71d47b33ea8f8acee67ab (diff) | |
download | gcc-6990885199c0d4d79f823fd82613bd6d1e0ff105.zip gcc-6990885199c0d4d79f823fd82613bd6d1e0ff105.tar.gz gcc-6990885199c0d4d79f823fd82613bd6d1e0ff105.tar.bz2 |
c-tree.texi (VAR_DECL): Describe representation of GCC's extension for placing variables in particular...
* c-tree.texi (VAR_DECL): Describe representation of GCC's
extension for placing variables in particular registers.
From-SVN: r37322
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/c-tree.texi | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8b554da..6c6fd05 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2000-11-08 Mark Mitchell <mark@codesourcery.com> + * c-tree.texi (VAR_DECL): Describe representation of GCC's + extension for placing variables in particular registers. + * c-tree.texi (FUNCTION_TYPE): Clarify TYPE_ARG_TYPES for unprototyped C functions with no parameters. diff --git a/gcc/c-tree.texi b/gcc/c-tree.texi index 56a2e25..3a4b6e8 100644 --- a/gcc/c-tree.texi +++ b/gcc/c-tree.texi @@ -991,6 +991,13 @@ performed. If the @code{DECL_INITIAL} is the @code{error_mark_node}, there is an initializer, but it is given by an explicit statement later in the code; no bitwise copy is required. +GCC provides an extension that allows either automatic variables, or +global variables, to be placed in particular registers. This extension +is being used for a particular @code{VAR_DECL} if @code{DECL_REGISTER} +holds for the @code{VAR_DECL}, and if @code{DECL_ASSEMBLER_NAME} is not +equal to @code{DECL_NAME}. In that case, @code{DECL_ASSEMBLER_NAME} is +the name of the register into which the variable will be placed. + @item PARM_DECL Used to represent a parameter to a function. Treat these nodes similarly to @code{VAR_DECL} nodes. These nodes only appear in the |