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
d021d274
Commit
d021d274
authored
May 22, 2009
by
Michael Meissner
Committed by
Michael Meissner
May 22, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix PR tree-optimization/40219
From-SVN: r147807
parent
4d7a65ea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
5 deletions
+14
-5
gcc/ChangeLog
+7
-0
gcc/tree.c
+7
-5
No files found.
gcc/ChangeLog
View file @
d021d274
2009-05-21 Michael Meissner <meissner@linux.vnet.ibm.com>
PR tree-optimization/40219
* tree.c (iterative_hash_expr): Make sure the builtin function is
a normal builtin function and not a front end or back end builtin
before indexing into the built_in_decls array.
2009-05-22 Richard Guenther <rguenther@suse.de>
PR middle-end/38964
...
...
gcc/tree.c
View file @
d021d274
...
...
@@ -5422,11 +5422,13 @@ iterative_hash_expr (const_tree t, hashval_t val)
return
val
;
}
case
FUNCTION_DECL
:
/* When referring to a built-in FUNCTION_DECL, use the
__builtin__ form. Otherwise nodes that compare equal
according to operand_equal_p might get different
hash codes. */
if
(
DECL_BUILT_IN
(
t
)
&&
built_in_decls
[
DECL_FUNCTION_CODE
(
t
)])
/* When referring to a built-in FUNCTION_DECL, use the __builtin__ form.
Otherwise nodes that compare equal according to operand_equal_p might
get different hash codes. However, don't do this for machine specific
or front end builtins, since the function code is overloaded in those
cases. */
if
(
DECL_BUILT_IN_CLASS
(
t
)
==
BUILT_IN_NORMAL
&&
built_in_decls
[
DECL_FUNCTION_CODE
(
t
)])
{
t
=
built_in_decls
[
DECL_FUNCTION_CODE
(
t
)];
code
=
TREE_CODE
(
t
);
...
...
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