]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
fortran: Fix closing brace in comment
authorMikael Morin <mikael@gcc.gnu.org>
Tue, 15 Jul 2025 11:33:34 +0000 (13:33 +0200)
committerMikael Morin <mikael@gcc.gnu.org>
Fri, 1 Aug 2025 13:10:35 +0000 (15:10 +0200)
In a comment, fix the closing brace of the tree layout definition of the
openmp allocate clause.  It was confusing vim's matching brace support.

gcc/fortran/ChangeLog:

* trans-decl.cc (gfc_trans_deferred_vars): Fix closing brace in
a comment.

gcc/fortran/trans-decl.cc

index 741acc052ee727a5dfa36998680a819436f35468..3b49b18287ae4bdf1c257ca29aa66d3ef9ce6fb7 100644 (file)
@@ -5340,7 +5340,7 @@ gfc_trans_deferred_vars (gfc_symbol * proc_sym, gfc_wrapped_block * block)
        continue;
       /* 'omp allocate( {purpose: allocator, value: align},
                        {purpose: init-stmtlist, value: cleanup-stmtlist},
-                       {purpose: size-var, value: last-size-expr}}
+                       {purpose: size-var, value: last-size-expr} )
          where init-stmt/cleanup-stmt is the STATEMENT list to find the
          try-final block; last-size-expr is to find the location after
          which to add the code and 'size-var' is for the proper size, cf.