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
943261d7
Commit
943261d7
authored
Feb 15, 2006
by
Daniel Berlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a little whitespace
From-SVN: r111121
parent
3c0b6c43
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
gcc/tree-ssa-operands.c
+5
-0
No files found.
gcc/tree-ssa-operands.c
View file @
943261d7
...
...
@@ -1651,6 +1651,7 @@ access_can_touch_variable (tree ref, tree alias, HOST_WIDE_INT offset,
terms of SFT_PARENT_VAR, that is where it is.
However, the access through the foo pointer will be at offset 0.
*/
if
(
size
!=
-
1
&&
TREE_CODE
(
alias
)
==
STRUCT_FIELD_TAG
&&
base
...
...
@@ -1666,6 +1667,7 @@ access_can_touch_variable (tree ref, tree alias, HOST_WIDE_INT offset,
#endif
return
false
;
}
/* Without strict aliasing, it is impossible for a component access
through a pointer to touch a random variable, unless that
variable *is* a structure or a pointer.
...
...
@@ -1693,6 +1695,7 @@ access_can_touch_variable (tree ref, tree alias, HOST_WIDE_INT offset,
(taken from 20000623-1.c)
*/
else
if
(
ref
&&
flag_strict_aliasing
&&
TREE_CODE
(
ref
)
!=
INDIRECT_REF
...
...
@@ -1710,9 +1713,11 @@ access_can_touch_variable (tree ref, tree alias, HOST_WIDE_INT offset,
#endif
return
false
;
}
/* If the offset of the access is greater than the size of one of
the possible aliases, it can't be touching that alias, because it
would be past the end of the structure. */
else
if
(
ref
&&
flag_strict_aliasing
&&
TREE_CODE
(
ref
)
!=
INDIRECT_REF
...
...
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