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
d6aa94b0
Commit
d6aa94b0
authored
Oct 12, 2016
by
Thomas Schwinge
Committed by
Thomas Schwinge
Oct 12, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix LTO_STREAMER_DEBUG build
gcc/ * lto-streamer.c: Fix LTO_STREAMER_DEBUG build. From-SVN: r241046
parent
29e77530
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
gcc/ChangeLog
+2
-0
gcc/lto-streamer.c
+6
-6
No files found.
gcc/ChangeLog
View file @
d6aa94b0
2016-10-12 Thomas Schwinge <thomas@codesourcery.com>
* lto-streamer.c: Fix LTO_STREAMER_DEBUG build.
* dwarf2out.c (dwarf2_lineno_debug_hooks): Use
dwarf2out_assembly_start.
...
...
gcc/lto-streamer.c
View file @
d6aa94b0
...
...
@@ -267,23 +267,23 @@ struct tree_hash_entry
struct
tree_entry_hasher
:
nofree_ptr_hash
<
tree_hash_entry
>
{
static
inline
hashval_t
hash
(
const
value_type
*
);
static
inline
bool
equal
(
const
value_type
*
,
const
compare_type
*
);
static
inline
hashval_t
hash
(
const
tree_hash_entry
*
);
static
inline
bool
equal
(
const
tree_hash_entry
*
,
const
tree_hash_entry
*
);
};
inline
hashval_t
tree_entry_hasher
::
hash
(
const
value_type
*
e
)
tree_entry_hasher
::
hash
(
const
tree_hash_entry
*
e
)
{
return
htab_hash_pointer
(
e
->
key
);
}
inline
bool
tree_entry_hasher
::
equal
(
const
value_type
*
e1
,
const
compare_type
*
e2
)
tree_entry_hasher
::
equal
(
const
tree_hash_entry
*
e1
,
const
tree_hash_entry
*
e2
)
{
return
(
e1
->
key
==
e2
->
key
);
}
static
hash_table
<
tree_
hash_entry
>
*
tree_htab
;
static
hash_table
<
tree_
entry_hasher
>
*
tree_htab
;
#endif
/* Initialization common to the LTO reader and writer. */
...
...
@@ -299,7 +299,7 @@ lto_streamer_init (void)
streamer_check_handled_ts_structures
();
#ifdef LTO_STREAMER_DEBUG
tree_htab
=
new
hash_table
<
tree_
hash_entry
>
(
31
);
tree_htab
=
new
hash_table
<
tree_
entry_hasher
>
(
31
);
#endif
}
...
...
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