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
ae718d66
Commit
ae718d66
authored
Oct 05, 2010
by
Ian Lance Taylor
Committed by
Ian Lance Taylor
Oct 05, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lto.c (lto_section_with_id): Make s a const pointer.
From-SVN: r164996
parent
852e4bd2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/lto/ChangeLog
+4
-0
gcc/lto/lto.c
+1
-1
No files found.
gcc/lto/ChangeLog
View file @
ae718d66
2010-10-05 Ian Lance Taylor <iant@google.com>
* lto.c (lto_section_with_id): Make s a const pointer.
2010-10-05 Jan Hubicka <jh@suse.cz>
2010-10-05 Jan Hubicka <jh@suse.cz>
* lto.c: Include params.h.
* lto.c: Include params.h.
...
...
gcc/lto/lto.c
View file @
ae718d66
...
@@ -431,7 +431,7 @@ lto_resolution_read (splay_tree file_ids, FILE *resolution, lto_file *file)
...
@@ -431,7 +431,7 @@ lto_resolution_read (splay_tree file_ids, FILE *resolution, lto_file *file)
static
int
static
int
lto_section_with_id
(
const
char
*
name
,
unsigned
*
id
)
lto_section_with_id
(
const
char
*
name
,
unsigned
*
id
)
{
{
char
*
s
;
c
onst
c
har
*
s
;
if
(
strncmp
(
name
,
LTO_SECTION_NAME_PREFIX
,
strlen
(
LTO_SECTION_NAME_PREFIX
)))
if
(
strncmp
(
name
,
LTO_SECTION_NAME_PREFIX
,
strlen
(
LTO_SECTION_NAME_PREFIX
)))
return
0
;
return
0
;
...
...
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