Commit 16e81d51 by Martin Liska Committed by Martin Liska

Fix __gcov_exit fn prototype.

2019-12-05  Martin Liska  <mliska@suse.cz>

	PR gcov-profile/92817
	* coverage.c (build_gcov_exit_decl): Remove superfluous
	void_type_node.

From-SVN: r278995
parent 6ff8ab6a
2019-12-05 Martin Liska <mliska@suse.cz>
PR gcov-profile/92817
* coverage.c (build_gcov_exit_decl): Remove superfluous
void_type_node.
2019-12-05 Jozef Lawrynowicz <jozef.l@mittosystems.com>
* config/msp430/msp430.md (cbranch<mode>4): Use
......@@ -1071,8 +1071,7 @@ build_init_ctor (tree gcov_info_type)
static void
build_gcov_exit_decl (void)
{
tree init_fn = build_function_type_list (void_type_node, void_type_node,
NULL);
tree init_fn = build_function_type_list (void_type_node, NULL);
init_fn = build_decl (BUILTINS_LOCATION, FUNCTION_DECL,
get_identifier ("__gcov_exit"), init_fn);
TREE_PUBLIC (init_fn) = 1;
......
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