[PATCH] Initialize a BB count in switch lowering.

Martin Liška mliska@suse.cz
Wed Dec 4 10:13:00 GMT 2019


Hello.

The patch is about missing initialization of a profile count.
Honza investigated with a new profile sanity patch he's been
preparing.

Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
Patch is pre-approved by Honza.

Martin

gcc/ChangeLog:

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

	* tree-switch-conversion.c (switch_decision_tree::try_switch_expansion):
	Initialize count of newly created BB.
---
   gcc/tree-switch-conversion.c | 1 +
   1 file changed, 1 insertion(+)



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Initialize-a-BB-count-in-switch-lowering.patch
Type: text/x-patch
Size: 496 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20191204/d4dbaa43/attachment.bin>


More information about the Gcc-patches mailing list