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
5a715667
Commit
5a715667
authored
Jan 18, 2020
by
Gerald Pfeifer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reword a comment in varpool_node::ctor_useable_for_folding_p.
* varpool.c (ctor_useable_for_folding_p): Fix grammar.
parent
7ebbff3a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
gcc/ChangeLog
+4
-0
gcc/varpool.c
+4
-3
No files found.
gcc/ChangeLog
View file @
5a715667
2019-01-18 Gerald Pfeifer <gerald@pfeifer.com>
* varpool.c (ctor_useable_for_folding_p): Fix grammar.
2020-01-18 Iain Sandoe <iain@sandoe.co.uk>
2020-01-18 Iain Sandoe <iain@sandoe.co.uk>
* Makefile.in: Add coroutine-passes.o.
* Makefile.in: Add coroutine-passes.o.
...
...
gcc/varpool.c
View file @
5a715667
...
@@ -352,9 +352,10 @@ varpool_node::ctor_useable_for_folding_p (void)
...
@@ -352,9 +352,10 @@ varpool_node::ctor_useable_for_folding_p (void)
return
DECL_INITIAL
(
real_node
->
decl
)
!=
NULL
;
return
DECL_INITIAL
(
real_node
->
decl
)
!=
NULL
;
}
}
/* Alias of readonly variable is also readonly, since the variable is stored
/* An alias of a read-only variable is also read-only, since the variable
in readonly memory. We also accept readonly aliases of non-readonly
is stored in read-only memory. We also accept read-only aliases of
locations assuming that user knows what he is asking for. */
non-read-only locations assuming that the user knows what he is asking
for. */
if
(
!
TREE_READONLY
(
decl
)
&&
!
TREE_READONLY
(
real_node
->
decl
))
if
(
!
TREE_READONLY
(
decl
)
&&
!
TREE_READONLY
(
real_node
->
decl
))
return
false
;
return
false
;
...
...
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