[COMMITED] gimple ssa: Fix a typo in gimple-ssa-sccopy.cc

Message ID ZrDJWvOwBUXtxfWA@fkdesktop.suse.cz
State Committed
Commit bb30fdd3436987aee6a22610e1d22b091c7ded6e
Headers
Series [COMMITED] gimple ssa: Fix a typo in gimple-ssa-sccopy.cc |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gcc_build--master-arm warning Patch is already merged
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 warning Patch is already merged

Commit Message

Filip Kastl Aug. 5, 2024, 12:45 p.m. UTC
  Hello,

just commited this as obvious.

Filip Kastl

-- 8< --

Fixes a misplaced comment in gimple-ssa-sccopy.cc.  The comment belongs
to a bitmap definition but was instead placed before the beginning of a
namespace block.

gcc/ChangeLog:

	* gimple-ssa-sccopy.cc: Move a misplaced comment.

Signed-off-by: Filip Kastl <fkastl@suse.cz>
---
 gcc/gimple-ssa-sccopy.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
  

Patch

diff --git a/gcc/gimple-ssa-sccopy.cc b/gcc/gimple-ssa-sccopy.cc
index 138ee9a0ac4..191a4c0b451 100644
--- a/gcc/gimple-ssa-sccopy.cc
+++ b/gcc/gimple-ssa-sccopy.cc
@@ -92,10 +92,11 @@  along with GCC; see the file COPYING3.  If not see
      Braun, Buchwald, Hack, Leissa, Mallon, Zwinkau, 2013, LNCS vol. 7791,
      Section 3.2.  */
 
+namespace {
+
 /* Bitmap tracking statements which were propagated to be removed at the end of
    the pass.  */
 
-namespace {
 static bitmap dead_stmts;
 
 /* State of vertex during SCC discovery.