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
1c3289cd
Commit
1c3289cd
authored
Apr 30, 2015
by
Marek Polacek
Committed by
Marek Polacek
Apr 30, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* varasm.c (handle_cache_entry): Fix logic.
From-SVN: r222641
parent
66286a53
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
11 deletions
+14
-11
gcc/ChangeLog
+4
-0
gcc/varasm.c
+10
-11
No files found.
gcc/ChangeLog
View file @
1c3289cd
2015-04-30 Marek Polacek <polacek@redhat.com>
* varasm.c (handle_cache_entry): Fix logic.
2015-04-30 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2015-04-30 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/aarch64/aarch64.md (*extr<mode>5_insn_alt): New pattern.
* config/aarch64/aarch64.md (*extr<mode>5_insn_alt): New pattern.
...
...
gcc/varasm.c
View file @
1c3289cd
...
@@ -5793,21 +5793,20 @@ struct tm_clone_hasher : ggc_cache_hasher<tree_map *>
...
@@ -5793,21 +5793,20 @@ struct tm_clone_hasher : ggc_cache_hasher<tree_map *>
static
hashval_t
hash
(
tree_map
*
m
)
{
return
tree_map_hash
(
m
);
}
static
hashval_t
hash
(
tree_map
*
m
)
{
return
tree_map_hash
(
m
);
}
static
bool
equal
(
tree_map
*
a
,
tree_map
*
b
)
{
return
tree_map_eq
(
a
,
b
);
}
static
bool
equal
(
tree_map
*
a
,
tree_map
*
b
)
{
return
tree_map_eq
(
a
,
b
);
}
static
void
handle_cache_entry
(
tree_map
*&
e
)
static
void
handle_cache_entry
(
tree_map
*&
e
)
{
{
if
(
e
!=
HTAB_EMPTY_ENTRY
||
e
!=
HTAB_DELETED_ENTRY
)
extern
void
gt_ggc_mx
(
tree_map
*&
);
{
if
(
e
==
HTAB_EMPTY_ENTRY
||
e
==
HTAB_DELETED_ENTRY
)
extern
void
gt_ggc_mx
(
tree_map
*&
);
return
;
if
(
ggc_marked_p
(
e
->
base
.
from
))
else
if
(
ggc_marked_p
(
e
->
base
.
from
))
gt_ggc_mx
(
e
);
gt_ggc_mx
(
e
);
else
else
e
=
static_cast
<
tree_map
*>
(
HTAB_DELETED_ENTRY
);
e
=
static_cast
<
tree_map
*>
(
HTAB_DELETED_ENTRY
);
}
}
}
};
};
static
GTY
((
cache
))
static
GTY
((
cache
))
hash_table
<
tm_clone_hasher
>
*
tm_clone_hash
;
hash_table
<
tm_clone_hasher
>
*
tm_clone_hash
;
void
void
record_tm_clone_pair
(
tree
o
,
tree
n
)
record_tm_clone_pair
(
tree
o
,
tree
n
)
...
...
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