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
f29b9db9
Commit
f29b9db9
authored
20 years ago
by
J"orn Rennecke
Committed by
Joern Rennecke
20 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree.c (iterative_hash_expr): Use real_hash.
From-SVN: r82720
parent
2435e036
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
gcc/ChangeLog
+4
-0
gcc/tree.c
+5
-2
No files found.
gcc/ChangeLog
View file @
f29b9db9
2004-06-07 J"orn Rennecke <joern.rennecke@superh.com>
* tree.c (iterative_hash_expr): Use real_hash.
2004-06-07 Joseph S. Myers <jsm@polyomino.org.uk>
PR c/14765
...
...
This diff is collapsed.
Click to expand it.
gcc/tree.c
View file @
f29b9db9
...
...
@@ -3846,8 +3846,11 @@ iterative_hash_expr (tree t, hashval_t val)
val
=
iterative_hash_object
(
TREE_INT_CST_HIGH
(
t
),
val
);
}
else
if
(
code
==
REAL_CST
)
val
=
iterative_hash
(
TREE_REAL_CST_PTR
(
t
),
sizeof
(
REAL_VALUE_TYPE
),
val
);
{
unsigned
int
val2
=
real_hash
(
TREE_REAL_CST_PTR
(
t
));
val
=
iterative_hash
(
&
val2
,
sizeof
(
unsigned
int
),
val
);
}
else
if
(
code
==
STRING_CST
)
val
=
iterative_hash
(
TREE_STRING_POINTER
(
t
),
TREE_STRING_LENGTH
(
t
),
val
);
...
...
This diff is collapsed.
Click to expand it.
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