Really set priority to 99 for __gcov_exit

* coverage.c (build_gcov_exit_decl): Fix priority what
	should be really 99.

From-SVN: r240857
This commit is contained in:
Martin Liska 2016-10-07 11:24:20 +02:00 committed by Martin Liska
parent 5d341f0895
commit 533144bccd
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2016-10-07 Martin Liska <mliska@suse.cz>
* coverage.c (build_gcov_exit_decl): Fix priority what
should be really 99.
2016-10-07 Richard Biener <rguenther@suse.de>
* gimple-low.c (lower_gimple_bind): Clear DECL_CHAIN of

View File

@ -1078,7 +1078,7 @@ build_gcov_exit_decl (void)
append_to_statement_list (stmt, &dtor);
/* Generate a destructor to run it (with priority 99). */
cgraph_build_static_cdtor ('D', dtor, DEFAULT_INIT_PRIORITY - 1);
cgraph_build_static_cdtor ('D', dtor, MAX_RESERVED_INIT_PRIORITY - 1);
}
/* Create the gcov_info types and object. Generate the constructor