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
fa20888b
Commit
fa20888b
authored
Aug 03, 1999
by
Mumit Khan
Committed by
Jason Merrill
Aug 03, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* decl.c (start_decl): Set attributes before duplicate_decls call.
From-SVN: r28442
parent
555b6442
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
gcc/cp/ChangeLog
+4
-0
gcc/cp/decl.c
+7
-7
No files found.
gcc/cp/ChangeLog
View file @
fa20888b
1999-08-03 Mumit Khan <khan@xraylith.wisc.edu>
* decl.c (start_decl): Set attributes before duplicate_decls call.
1999-08-02 Mark Mitchell <mark@codesourcery.com>
* Make-lang.in (CXX_SRCS): Add dump.c.
...
...
gcc/cp/decl.c
View file @
fa20888b
...
...
@@ -6974,6 +6974,13 @@ start_decl (declarator, declspecs, initialized, attributes, prefix_attributes)
DECL_INITIAL
(
decl
)
=
error_mark_node
;
}
#ifdef SET_DEFAULT_DECL_ATTRIBUTES
SET_DEFAULT_DECL_ATTRIBUTES
(
decl
,
attributes
);
#endif
/* Set attributes here so if duplicate decl, will have proper attributes. */
cplus_decl_attributes
(
decl
,
attributes
,
prefix_attributes
);
if
(
context
&&
TYPE_SIZE
(
complete_type
(
context
))
!=
NULL_TREE
)
{
push_nested_class
(
context
,
2
);
...
...
@@ -7031,13 +7038,6 @@ start_decl (declarator, declspecs, initialized, attributes, prefix_attributes)
decl
);
}
#ifdef SET_DEFAULT_DECL_ATTRIBUTES
SET_DEFAULT_DECL_ATTRIBUTES
(
decl
,
attributes
);
#endif
/* Set attributes here so if duplicate decl, will have proper attributes. */
cplus_decl_attributes
(
decl
,
attributes
,
prefix_attributes
);
/* Add this decl to the current binding level, but not if it
comes from another scope, e.g. a static member variable.
TEM may equal DECL or it may be a previous decl of the same name. */
...
...
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