aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@apple.com>2001-07-07 01:07:22 +0000
committerStan Shebs <shebs@gcc.gnu.org>2001-07-07 01:07:22 +0000
commitf6897b10e150a880ffa7df29d7a2305804a58028 (patch)
treeef8e84e2bb302fc01ff8f0c9701e00ecd440d691 /gcc/tree.c
parent84fc8b47f39bdb9b21dbb2eacb85197920bb9f5b (diff)
downloadgcc-f6897b10e150a880ffa7df29d7a2305804a58028.zip
gcc-f6897b10e150a880ffa7df29d7a2305804a58028.tar.gz
gcc-f6897b10e150a880ffa7df29d7a2305804a58028.tar.bz2
target.h (targetm): Rename global from "target", so as not to conflict with local variables.
* target.h (targetm): Rename global from "target", so as not to conflict with local variables. * c-decl.c: Ditto. * c-typeck.c: Ditto. * final.c: Ditto. * tree.c: Ditto. * cp/decl.c: Ditto. * cp/decl2.c: Ditto. * cp/typeck.c: Ditto. * 1750a/1750a.c: Ditto. * a29k/a29k.c: Ditto. * arc/arc.c: Ditto. * arm/arm.c: Ditto. * avr/avr.c: Ditto. * clipper/clipper.c: Ditto. * convex/convex.c: Ditto. * d30v/d30v.c: Ditto. * dsp16xx/dsp16xx.c: Ditto. * elxsi/elxsi.c: Ditto. * fr30/fr30.c: Ditto. * h8300/h8300.c: Ditto. * i370/i370.c: Ditto. * i386/i386.c: Ditto. * i860/i860.c: Ditto. * i960/i960.c: Ditto. * ia64/ia64.c: Ditto. * m32r/m32r.c: Ditto. * m68hc11/m68hc11.c: Ditto. * m68k/m68k.c: Ditto. * m88k/m88k.c: Ditto. * mips/mips.c: Ditto. * ns32k/ns32k.c: Ditto. * pa/pa.c: Ditto. * pdp11/pdp11.c: Ditto. * romp/romp.c: Ditto. * rs6000/rs6000.c: Ditto. * sh/sh.c: Ditto. * sparc/sparc.c: Ditto. * vax/vax.c: Ditto. * we32k/we32k.c: Ditto. * doc/tm.texi: Update the manual to match. From-SVN: r43831
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index fdae851..a48724b 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -435,7 +435,7 @@ make_node (code)
/* Default to no attributes for type, but let target change that. */
TYPE_ATTRIBUTES (t) = NULL_TREE;
- (*target.set_default_type_attributes) (t);
+ (*targetm.set_default_type_attributes) (t);
/* We have not yet computed the alias set for this type. */
TYPE_ALIAS_SET (t) = -1;
@@ -2759,8 +2759,8 @@ valid_machine_attribute (attr_name, attr_args, decl, type)
{
tree decl_attrs = DECL_MACHINE_ATTRIBUTES (decl);
- if ((*target.valid_decl_attribute) (decl, decl_attrs, attr_name,
- attr_args))
+ if ((*targetm.valid_decl_attribute) (decl, decl_attrs, attr_name,
+ attr_args))
{
tree attr = lookup_attribute (IDENTIFIER_POINTER (attr_name),
decl_attrs);
@@ -2783,8 +2783,8 @@ valid_machine_attribute (attr_name, attr_args, decl, type)
}
type_attrs = TYPE_ATTRIBUTES (type);
- if ((*target.valid_type_attribute) (type, type_attrs, attr_name,
- attr_args))
+ if ((*targetm.valid_type_attribute) (type, type_attrs, attr_name,
+ attr_args))
{
tree attr = lookup_attribute (IDENTIFIER_POINTER (attr_name),
type_attrs);
@@ -2818,8 +2818,8 @@ valid_machine_attribute (attr_name, attr_args, decl, type)
by putting the attribute on the function type. */
else if (POINTER_TYPE_P (type)
&& TREE_CODE (TREE_TYPE (type)) == FUNCTION_TYPE
- && (*target.valid_type_attribute) (TREE_TYPE (type), type_attrs,
- attr_name, attr_args))
+ && (*targetm.valid_type_attribute) (TREE_TYPE (type), type_attrs,
+ attr_name, attr_args))
{
tree inner_type = TREE_TYPE (type);
tree inner_attrs = TYPE_ATTRIBUTES (inner_type);