From cc261f66c268107b120add99942d729b3a489452 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Fri, 7 Jun 2019 07:35:19 +0200 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/tree-ssa-loop.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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. */ -- 2.30.2