Fix a thinko in tree-ssa-loop.c.

2019-06-07  Martin Liska  <mliska@suse.cz>

	* tree-ssa-loop.c (get_lsm_tmp_name): Return at the end of the
	function.

From-SVN: r272029
This commit is contained in:
Martin Liska 2019-06-07 07:35:19 +02:00 committed by Martin Liska
parent b8e2acff11
commit cc261f66c2
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2019-06-07 Martin Liska <mliska@suse.cz>
* tree-ssa-loop.c (get_lsm_tmp_name): Return at the end of the
function.
2019-06-07 Martin Liska <mliska@suse.cz>
PR tree-optimization/78902

View File

@ -768,9 +768,9 @@ get_lsm_tmp_name (tree ref, unsigned n, const char *suffix)
ns[1] = 0;
lsm_tmp_name_add (ns);
}
return lsm_tmp_name;
if (suffix != NULL)
lsm_tmp_name_add (suffix);
return lsm_tmp_name;
}
/* Computes an estimated number of insns in LOOP, weighted by WEIGHTS. */