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
2efd77e9
Commit
2efd77e9
authored
Dec 07, 2015
by
Jan Hubicka
Committed by
Jan Hubicka
Dec 07, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fold-const.c (operand_equal_p): Drp flag_strict_aliasing check.
From-SVN: r231377
parent
0beb7c71
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
gcc/ChangeLog
+4
-0
gcc/fold-const.c
+2
-3
No files found.
gcc/ChangeLog
View file @
2efd77e9
2015
-
12
-
07
Jan
Hubicka
<
hubicka
@
ucw
.
cz
>
*
fold
-
const
.
c
(
operand_equal_p
):
Drp
flag_strict_aliasing
check
.
2015
-
12
-
07
Nathan
Sidwell
<
nathan
@
acm
.
org
>
2015
-
12
-
07
Nathan
Sidwell
<
nathan
@
acm
.
org
>
*
config
//
nvptx
/
nvptx
.
c
(
write_return
):
New
.
*
config
//
nvptx
/
nvptx
.
c
(
write_return
):
New
.
gcc/fold-const.c
View file @
2efd77e9
...
@@ -2987,14 +2987,13 @@ operand_equal_p (const_tree arg0, const_tree arg1, unsigned int flags)
...
@@ -2987,14 +2987,13 @@ operand_equal_p (const_tree arg0, const_tree arg1, unsigned int flags)
flags
)))
flags
)))
return
0
;
return
0
;
/* Verify that accesses are TBAA compatible. */
/* Verify that accesses are TBAA compatible. */
if
(
flag_strict_aliasing
if
(
!
alias_ptr_types_compatible_p
&&
(
!
alias_ptr_types_compatible_p
(
TREE_TYPE
(
TREE_OPERAND
(
arg0
,
1
)),
(
TREE_TYPE
(
TREE_OPERAND
(
arg0
,
1
)),
TREE_TYPE
(
TREE_OPERAND
(
arg1
,
1
)))
TREE_TYPE
(
TREE_OPERAND
(
arg1
,
1
)))
||
(
MR_DEPENDENCE_CLIQUE
(
arg0
)
||
(
MR_DEPENDENCE_CLIQUE
(
arg0
)
!=
MR_DEPENDENCE_CLIQUE
(
arg1
))
!=
MR_DEPENDENCE_CLIQUE
(
arg1
))
||
(
MR_DEPENDENCE_BASE
(
arg0
)
||
(
MR_DEPENDENCE_BASE
(
arg0
)
!=
MR_DEPENDENCE_BASE
(
arg1
)
)))
!=
MR_DEPENDENCE_BASE
(
arg1
)))
return
0
;
return
0
;
/* Verify that alignment is compatible. */
/* Verify that alignment is compatible. */
if
(
TYPE_ALIGN
(
TREE_TYPE
(
arg0
))
if
(
TYPE_ALIGN
(
TREE_TYPE
(
arg0
))
...
...
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