aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorBernardo Innocenti <bernie@develer.com>2004-07-25 19:57:24 +0200
committerBernardo Innocenti <bernie@gcc.gnu.org>2004-07-25 19:57:24 +0200
commite3a64162f5cd539922b53eba91229e4b882bcad6 (patch)
tree6f26ca609f256828ce2146879b8488b97aa20f40 /gcc/c-decl.c
parent381166d48e97ccf1bbc9c747bd11e61b7b0c8155 (diff)
downloadgcc-e3a64162f5cd539922b53eba91229e4b882bcad6.zip
gcc-e3a64162f5cd539922b53eba91229e4b882bcad6.tar.gz
gcc-e3a64162f5cd539922b53eba91229e4b882bcad6.tar.bz2
c-common.c: Rename all identifiers named `class' to `cl'.
* c-common.c: Rename all identifiers named `class' to `cl'. * c-decl.c: Likewise. * c-common.h: Likewise. * c-parse.in: Likewise. * c-typeck.c: Likewise. * genmodes.c: Likewise. * real.c: Likewise. * real.h: Likewise. * recog.c: Likewise. * recog.h: Likewise. * regrename.c: Likewise. * tree.h: Likewise. From-SVN: r85153
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 62a464e..e5e1ee2 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -2475,15 +2475,15 @@ c_make_fname_decl (tree id, int type_dep)
tree
builtin_function (const char *name, tree type, int function_code,
- enum built_in_class class, const char *library_name,
+ enum built_in_class cl, const char *library_name,
tree attrs)
{
tree id = get_identifier (name);
tree decl = build_decl (FUNCTION_DECL, id, type);
TREE_PUBLIC (decl) = 1;
DECL_EXTERNAL (decl) = 1;
- DECL_LANG_SPECIFIC (decl) = ggc_alloc_cleared (sizeof (struct lang_decl));
- DECL_BUILT_IN_CLASS (decl) = class;
+ DECL_LANG_SPECIFIC (decl) = GGC_CNEW (struct lang_decl);
+ DECL_BUILT_IN_CLASS (decl) = cl;
DECL_FUNCTION_CODE (decl) = function_code;
if (library_name)
SET_DECL_ASSEMBLER_NAME (decl, get_identifier (library_name));