public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-1792] remove 'continue' as last statement in loop
@ 2022-07-22  7:30 Martin Liska
  0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2022-07-22  7:30 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:aaf9583d4cf048850b1eb74d25866f45198e35b8

commit r13-1792-gaaf9583d4cf048850b1eb74d25866f45198e35b8
Author: Martin Liska <mliska@suse.cz>
Date:   Fri Jul 22 09:28:48 2022 +0200

    remove 'continue' as last statement in loop
    
            PR other/106370
    
    gcc/cp/ChangeLog:
    
            * init.cc (sort_mem_initializers): Remove continue as last stmt
            in a loop.
    
    libiberty/ChangeLog:
    
            * _doprnt.c: Remove continue as last stmt
            in a loop.

Diff:
---
 gcc/cp/init.cc      | 1 -
 libiberty/_doprnt.c | 1 -
 2 files changed, 2 deletions(-)

diff --git a/gcc/cp/init.cc b/gcc/cp/init.cc
index a4a0a0ac0c2..edca8437f64 100644
--- a/gcc/cp/init.cc
+++ b/gcc/cp/init.cc
@@ -1436,7 +1436,6 @@ sort_mem_initializers (tree t, tree mem_inits)
 	  continue;
 	splice:
 	  *p = TREE_CHAIN (*p);
-	  continue;
 	}
     }
 
diff --git a/libiberty/_doprnt.c b/libiberty/_doprnt.c
index cebaa16056b..c7232d858c6 100644
--- a/libiberty/_doprnt.c
+++ b/libiberty/_doprnt.c
@@ -55,7 +55,6 @@ Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
 	 putc(CHAR, stream); \
 	 ptr++; \
 	 total_printed++; \
-	 continue; \
      } while (0)
 
 #define PRINT_TYPE(TYPE) \


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-22  7:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-22  7:30 [gcc r13-1792] remove 'continue' as last statement in loop Martin Liska

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).