Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
6125f3be
Commit
6125f3be
authored
Mar 05, 1996
by
Doug Evans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(grokdeclarator): Restore #if 0's to disable decl_machine_attr references.
From-SVN: r11434
parent
7ea63af7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
gcc/cp/decl.c
+10
-2
No files found.
gcc/cp/decl.c
View file @
6125f3be
...
@@ -7424,8 +7424,10 @@ grokdeclarator (declarator, declspecs, decl_context, initialized, raises, attrli
...
@@ -7424,8 +7424,10 @@ grokdeclarator (declarator, declspecs, decl_context, initialized, raises, attrli
int
funcdef_flag
=
0
;
int
funcdef_flag
=
0
;
enum
tree_code
innermost_code
=
ERROR_MARK
;
enum
tree_code
innermost_code
=
ERROR_MARK
;
int
bitfield
=
0
;
int
bitfield
=
0
;
#if 0
/* See the code below that used this. */
tree decl_machine_attr = NULL_TREE;
tree decl_machine_attr = NULL_TREE;
#endif
/* Set this to error_mark_node for FIELD_DECLs we could not handle properly.
/* 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. */
All FIELD_DECLs we build here have `init' put into their DECL_INITIAL. */
tree
init
=
NULL_TREE
;
tree
init
=
NULL_TREE
;
...
@@ -7826,7 +7828,10 @@ grokdeclarator (declarator, declspecs, decl_context, initialized, raises, attrli
...
@@ -7826,7 +7828,10 @@ grokdeclarator (declarator, declspecs, decl_context, initialized, raises, attrli
else
else
{
{
type
=
TREE_TYPE
(
t
);
type
=
TREE_TYPE
(
t
);
#if 0
/* See the code below that used this. */
decl_machine_attr = DECL_MACHINE_ATTRIBUTES (id);
decl_machine_attr = DECL_MACHINE_ATTRIBUTES (id);
#endif
typedef_decl
=
t
;
typedef_decl
=
t
;
}
}
}
}
...
@@ -9276,8 +9281,11 @@ grokdeclarator (declarator, declspecs, decl_context, initialized, raises, attrli
...
@@ -9276,8 +9281,11 @@ grokdeclarator (declarator, declspecs, decl_context, initialized, raises, attrli
funcdef_flag
);
funcdef_flag
);
if
(
decl
==
NULL_TREE
)
if
(
decl
==
NULL_TREE
)
return
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);
decl = build_decl_attribute_variant (decl, decl_machine_attr);
#endif
if
(
explicitp
==
2
)
if
(
explicitp
==
2
)
DECL_NONCONVERTING_P
(
decl
)
=
1
;
DECL_NONCONVERTING_P
(
decl
)
=
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment