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
e7abfe07
Commit
e7abfe07
authored
Dec 05, 2010
by
Jan Hubicka
Committed by
Jan Hubicka
Dec 05, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lto-streamer-in.c (input_cfg): Fix pasto.
From-SVN: r167467
parent
cb20668f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
gcc/ChangeLog
+4
-0
gcc/lto-streamer-in.c
+3
-3
No files found.
gcc/ChangeLog
View file @
e7abfe07
2010
-
12
-
03
Jan
Hubicka
<
jh
@suse
.
cz
>
2010
-
12
-
03
Jan
Hubicka
<
jh
@suse
.
cz
>
*
lto
-
streamer
-
in
.
c
(
input_cfg
)
:
Fix
pasto
.
2010
-
12
-
03
Jan
Hubicka
<
jh
@suse
.
cz
>
*
ipa
.
c
(
cgraph_externally_visible_p
)
:
Do
not
localize
builtins
*
ipa
.
c
(
cgraph_externally_visible_p
)
:
Do
not
localize
builtins
and
functions
with
user
asm
defined
names
.
and
functions
with
user
asm
defined
names
.
(
varpool_externally_visible_p
)
:
Do
not
localize
vars
with
user
(
varpool_externally_visible_p
)
:
Do
not
localize
vars
with
user
gcc/lto-streamer-in.c
View file @
e7abfe07
...
@@ -753,8 +753,7 @@ input_cfg (struct lto_input_block *ib, struct function *fn,
...
@@ -753,8 +753,7 @@ input_cfg (struct lto_input_block *ib, struct function *fn,
if
(
bb
==
NULL
)
if
(
bb
==
NULL
)
bb
=
make_new_block
(
fn
,
index
);
bb
=
make_new_block
(
fn
,
index
);
edge_count
=
(
lto_input_uleb128
(
ib
)
*
count_materialization_scale
edge_count
=
lto_input_uleb128
(
ib
);
+
REG_BR_PROB_BASE
/
2
)
/
REG_BR_PROB_BASE
;
/* Connect up the CFG. */
/* Connect up the CFG. */
for
(
i
=
0
;
i
<
edge_count
;
i
++
)
for
(
i
=
0
;
i
<
edge_count
;
i
++
)
...
@@ -768,7 +767,8 @@ input_cfg (struct lto_input_block *ib, struct function *fn,
...
@@ -768,7 +767,8 @@ input_cfg (struct lto_input_block *ib, struct function *fn,
dest_index
=
lto_input_uleb128
(
ib
);
dest_index
=
lto_input_uleb128
(
ib
);
probability
=
(
int
)
lto_input_sleb128
(
ib
);
probability
=
(
int
)
lto_input_sleb128
(
ib
);
count
=
(
gcov_type
)
lto_input_sleb128
(
ib
);
count
=
((
gcov_type
)
lto_input_sleb128
(
ib
)
*
count_materialization_scale
+
REG_BR_PROB_BASE
/
2
)
/
REG_BR_PROB_BASE
;
edge_flags
=
lto_input_uleb128
(
ib
);
edge_flags
=
lto_input_uleb128
(
ib
);
dest
=
BASIC_BLOCK_FOR_FUNCTION
(
fn
,
dest_index
);
dest
=
BASIC_BLOCK_FOR_FUNCTION
(
fn
,
dest_index
);
...
...
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