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
86f98641
Commit
86f98641
authored
Jul 28, 2011
by
Aldy Hernandez
Committed by
Aldy Hernandez
Jul 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
expr.c (get_bit_range): Handle *MEM_REF's.
* expr.c (get_bit_range): Handle *MEM_REF's. From-SVN: r176891
parent
dc0ff1c8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
+8
-1
gcc/ChangeLog
+4
-0
gcc/expr.c
+4
-1
No files found.
gcc/ChangeLog
View file @
86f98641
2011-07-28 Aldy Hernandez <aldyh@redhat.com>
* expr.c (get_bit_range): Handle *MEM_REF's.
2011-07-28 Bernd Schmidt <bernds@codesourcery.com>
* rtlanal.c (tablejump_p): False for returns.
...
...
gcc/expr.c
View file @
86f98641
...
...
@@ -4158,7 +4158,10 @@ get_bit_range (unsigned HOST_WIDE_INT *bitstart,
/* If other threads can't see this value, no need to restrict stores. */
if
(
ALLOW_STORE_DATA_RACES
||
(
!
ptr_deref_may_alias_global_p
(
innerdecl
)
||
((
TREE_CODE
(
innerdecl
)
==
MEM_REF
||
TREE_CODE
(
innerdecl
)
==
TARGET_MEM_REF
)
&&
!
ptr_deref_may_alias_global_p
(
TREE_OPERAND
(
innerdecl
,
0
)))
||
(
DECL_P
(
innerdecl
)
&&
(
DECL_THREAD_LOCAL_P
(
innerdecl
)
||
!
TREE_STATIC
(
innerdecl
))))
{
...
...
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