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
875427f0
Commit
875427f0
authored
Feb 16, 2004
by
Richard Henderson
Committed by
Richard Henderson
Feb 16, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fold-const.c (operand_equal_p): Fix VECTOR_CST comparison.
From-SVN: r77883
parent
b7b9662f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
gcc/ChangeLog
+2
-0
gcc/fold-const.c
+2
-1
No files found.
gcc/ChangeLog
View file @
875427f0
...
...
@@ -2,6 +2,8 @@
* cse.c (cse_insn): Don't lose REG_NON_LOCAL_GOTO note.
* fold-const.c (operand_equal_p): Fix VECTOR_CST comparison.
2004-02-15 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.md: Remove unnecessary parallels from
...
...
gcc/fold-const.c
View file @
875427f0
...
...
@@ -2198,7 +2198,8 @@ operand_equal_p (tree arg0, tree arg1, int only_const)
v2
=
TREE_VECTOR_CST_ELTS
(
arg1
);
while
(
v1
&&
v2
)
{
if
(
!
operand_equal_p
(
v1
,
v2
,
only_const
))
if
(
!
operand_equal_p
(
TREE_VALUE
(
v1
),
TREE_VALUE
(
v2
),
only_const
))
return
0
;
v1
=
TREE_CHAIN
(
v1
);
v2
=
TREE_CHAIN
(
v2
);
...
...
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