aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2005-02-01 08:22:19 +0100
committerEric Botcazou <ebotcazou@gcc.gnu.org>2005-02-01 07:22:19 +0000
commit9c0a30c366cd160bc8bd3589468dae18bd1b30ec (patch)
treea6a1a13b3bbed54f050188c868e50dbe5ca6fb56 /gcc/tree.h
parent8c94c75ae756f2f79911197da886e0b247f5fa05 (diff)
downloadgcc-9c0a30c366cd160bc8bd3589468dae18bd1b30ec.zip
gcc-9c0a30c366cd160bc8bd3589468dae18bd1b30ec.tar.gz
gcc-9c0a30c366cd160bc8bd3589468dae18bd1b30ec.tar.bz2
Patch from Richard Sandiford <rsandifo@redhat.com>
* reload1.c (choose_reload_regs): Prevent the find_equiv_reg() code from inheriting a subreg equivalence with a non-spill register. * tree.h (DECL_FUNCTION_CODE): Document that it is overloaded. From-SVN: r94529
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index a4c590b..10012e4 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -2000,8 +2000,10 @@ struct tree_binfo GTY (())
that describes the status of this function. */
#define DECL_STRUCT_FUNCTION(NODE) (FUNCTION_DECL_CHECK (NODE)->decl.u2.f)
-/* For FUNCTION_DECL, if it is built-in,
- this identifies which built-in operation it is. */
+/* For FUNCTION_DECL, if it is built-in, this identifies which built-in
+ operation it is. Note, however, that this field is overloaded, with
+ DECL_BUILT_IN_CLASS as the discriminant, so the latter must always be
+ checked before any access to the former. */
#define DECL_FUNCTION_CODE(NODE) (FUNCTION_DECL_CHECK (NODE)->decl.u1.f)
/* The DECL_VINDEX is used for FUNCTION_DECLS in two different ways.