Commit 248cce34 by Martin Liska Committed by Martin Liska

Make one extra BB to prevent PHI argument clash (PR

	PR gcov-profile/78582
	* gcc.dg/pr78582.c: New test.
	PR gcov-profile/78582
	* tree-profile.c (gimple_gen_time_profiler): Make one extra BB
	to prevent PHI argument clash.

From-SVN: r242958
parent f4214e23
2016-11-29 Martin Liska <mliska@suse.cz>
PR gcov-profile/78582
* tree-profile.c (gimple_gen_time_profiler): Make one extra BB
to prevent PHI argument clash.
2016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/arc.opt (marclinux): Fix typo.
2016-11-29 Martin Liska <mliska@suse.cz>
PR gcov-profile/78582
* gcc.dg/pr78582.c: New test.
2016-11-29 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
* testsuite/gcc.dg/pr31096-1.c: Use __{U,}INT32_TYPE__ for
......
......@@ -461,10 +461,10 @@ void
gimple_gen_time_profiler (unsigned tag, unsigned base)
{
tree type = get_gcov_type ();
basic_block cond_bb
= split_edge (single_succ_edge (ENTRY_BLOCK_PTR_FOR_FN (cfun)));
basic_block entry = ENTRY_BLOCK_PTR_FOR_FN (cfun);
basic_block cond_bb = split_edge (single_succ_edge (entry));
basic_block update_bb = split_edge (single_succ_edge (cond_bb));
split_edge (single_succ_edge (update_bb));
edge true_edge = single_succ_edge (cond_bb);
true_edge->flags = EDGE_TRUE_VALUE;
......
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