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
e693ebce
Commit
e693ebce
authored
7 years ago
by
Jan Hubicka
Committed by
Jan Hubicka
7 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lto-partition.c (lto_balanced_map): Fix sanity check.
From-SVN: r259759
parent
af1682fc
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-partition.c
+1
-1
No files found.
gcc/lto/ChangeLog
View file @
e693ebce
2018-04-20 Jan Hubicka <jh@suse.cz>
* lto-partition.c (lto_balanced_map): Fix sanity check.
2018-04-19 Jan Hubicka <jh@suse.cz>
* lto-partition.c: Include sreal.h
...
...
This diff is collapsed.
Click to expand it.
gcc/lto/lto-partition.c
View file @
e693ebce
...
...
@@ -809,7 +809,7 @@ lto_balanced_map (int n_lto_partitions, int max_partition_size)
next_nodes
.
safe_push
(
noreorder
[
noreorder_pos
++
]);
/* For one partition the cost of boundary should be 0 unless we added final
symbols here (these are not accounted) or we have accounting bug. */
gcc_assert
(
next_nodes
.
length
()
||
npartitions
!=
1
||
!
best_cost
);
gcc_assert
(
next_nodes
.
length
()
||
npartitions
!=
1
||
!
best_cost
||
best_cost
==
-
1
);
add_sorted_nodes
(
next_nodes
,
partition
);
free
(
order
);
...
...
This diff is collapsed.
Click to expand it.
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