Commit 533144bc by Martin Liska Committed by Martin Liska

Really set priority to 99 for __gcov_exit

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

From-SVN: r240857
parent 5d341f08
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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment