diff options
author | Jan Hubicka <hubicka@gcc.gnu.org> | 2019-12-10 17:54:41 +0000 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2019-12-10 17:54:41 +0000 |
commit | 59c7b29e9a5b3a692efae81541985be800cdbf0c (patch) | |
tree | f2bb1ec7b0e6ac6ba92cb44f3193d2a12f761625 /gcc/cgraph.c | |
parent | 066564270000d608114fdea89cfbf58c69f68845 (diff) |
Turn tp_first_run counts back to 32bit values.
* cgraph.c (cgraph_node::verify_node): Verify tp_first_run.
* cgraph.h (cgrpah_node): Turn tp_first_run back to int.
* cgraphunit.c (tp_first_run_node_cmp): Do not watch for overflows.
(expand_all_functions): First expand ordered section and then
unordered.
* lto-partition.c (lto_balanced_map): Fix printing of tp_first_run.
* profile.c (compute_value_histograms): Error on out of range
tp_first_runs.
From-SVN: r279178
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 5c7a03d61be..ba5f2767e4b 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -3066,6 +3066,11 @@ cgraph_node::verify_node (void) inlined_to->count.debug (); error_found = true; } + if (tp_first_run < 0) + { + error ("tp_first_run must be non-negative"); + error_found = true; + } if (!definition && !in_other_partition && local) { error ("local symbols must be defined"); |