From: Martin Liska Date: Fri, 7 Jun 2019 05:35:19 +0000 (+0200) Subject: Fix a thinko in tree-ssa-loop.c. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cc261f66c268107b120add99942d729b3a489452;p=gcc.git Fix a thinko in tree-ssa-loop.c. 2019-06-07 Martin Liska * tree-ssa-loop.c (get_lsm_tmp_name): Return at the end of the function. From-SVN: r272029 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7a21c939ac5..c37e315bfdf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-06-07 Martin Liska + + * tree-ssa-loop.c (get_lsm_tmp_name): Return at the end of the + function. + 2019-06-07 Martin Liska PR tree-optimization/78902 diff --git a/gcc/tree-ssa-loop.c b/gcc/tree-ssa-loop.c index 1ac6cee60b0..208c58354b4 100644 --- a/gcc/tree-ssa-loop.c +++ b/gcc/tree-ssa-loop.c @@ -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. */