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
a2e66caf
Commit
a2e66caf
authored
May 13, 2010
by
Jan Hubicka
Committed by
Jan Hubicka
May 13, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* decl.c (cp_finish_decl): Do not worry about used attribute.
From-SVN: r159372
parent
da405c74
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
gcc/cp/ChangeLog
+4
-0
gcc/cp/decl.c
+0
-4
No files found.
gcc/cp/ChangeLog
View file @
a2e66caf
2010-05-13 Jan Hubicka <jh@suse.cz>
* decl.c (cp_finish_decl): Do not worry about used attribute.
2010-05-12 Jason Merrill <jason@redhat.com>
2010-05-12 Jason Merrill <jason@redhat.com>
* typeck.c (build_array_ref): Take complain parm.
* typeck.c (build_array_ref): Take complain parm.
...
...
gcc/cp/decl.c
View file @
a2e66caf
...
@@ -6022,10 +6022,6 @@ cp_finish_decl (tree decl, tree init, bool init_const_expr_p,
...
@@ -6022,10 +6022,6 @@ cp_finish_decl (tree decl, tree init, bool init_const_expr_p,
if
(
was_readonly
)
if
(
was_readonly
)
TREE_READONLY
(
decl
)
=
1
;
TREE_READONLY
(
decl
)
=
1
;
/* If this was marked 'used', be sure it will be output. */
if
(
lookup_attribute
(
"used"
,
DECL_ATTRIBUTES
(
decl
)))
mark_decl_referenced
(
decl
);
}
}
/* Returns a declaration for a VAR_DECL as if:
/* Returns a declaration for a VAR_DECL as if:
...
...
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