aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1996-03-05 00:34:32 +0000
committerDoug Evans <dje@gnu.org>1996-03-05 00:34:32 +0000
commit6125f3bee8c5c6f0c4687b70bf60fe5bf5e78f03 (patch)
treec4b9011d290e6143a06612f528ead566856f8a12 /gcc
parent7ea63af7db88d5696cfa01bfb8f2f5e3656c6a25 (diff)
downloadgcc-6125f3bee8c5c6f0c4687b70bf60fe5bf5e78f03.zip
gcc-6125f3bee8c5c6f0c4687b70bf60fe5bf5e78f03.tar.gz
gcc-6125f3bee8c5c6f0c4687b70bf60fe5bf5e78f03.tar.bz2
(grokdeclarator): Restore #if 0's to disable decl_machine_attr references.
From-SVN: r11434
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/decl.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 31f8613..8e7bb51 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -7424,8 +7424,10 @@ grokdeclarator (declarator, declspecs, decl_context, initialized, raises, attrli
int funcdef_flag = 0;
enum tree_code innermost_code = ERROR_MARK;
int bitfield = 0;
+#if 0
+ /* See the code below that used this. */
tree decl_machine_attr = NULL_TREE;
-
+#endif
/* Set this to error_mark_node for FIELD_DECLs we could not handle properly.
All FIELD_DECLs we build here have `init' put into their DECL_INITIAL. */
tree init = NULL_TREE;
@@ -7826,7 +7828,10 @@ grokdeclarator (declarator, declspecs, decl_context, initialized, raises, attrli
else
{
type = TREE_TYPE (t);
+#if 0
+ /* See the code below that used this. */
decl_machine_attr = DECL_MACHINE_ATTRIBUTES (id);
+#endif
typedef_decl = t;
}
}
@@ -9276,8 +9281,11 @@ grokdeclarator (declarator, declspecs, decl_context, initialized, raises, attrli
funcdef_flag);
if (decl == NULL_TREE)
return NULL_TREE;
-
+#if 0
+ /* This clobbers the attrs stored in `decl' from `attrlist'. */
+ /* The decl and setting of decl_machine_attr is also turned off. */
decl = build_decl_attribute_variant (decl, decl_machine_attr);
+#endif
if (explicitp == 2)
DECL_NONCONVERTING_P (decl) = 1;