public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Trivial H8 fallthru comment fix
@ 2016-10-26 15:21 Jeff Law
  0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2016-10-26 15:21 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 155 bytes --]


This fixes problems building the H8 port with the current trunk.  Just a 
trivial fix to the format of a fallthru comment.  Installed on the trunk.

Jeff

[-- Attachment #2: P --]
[-- Type: text/plain, Size: 1499 bytes --]

commit 356e50be8376f57e4f872ebc5a67b5ed41c98ab7
Author: law <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Wed Oct 26 15:20:33 2016 +0000

    	* config/h8300/h8300.c (h8300_print_operand): Adjust FALLTHRU
    	comment to silence warning.
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241560 138bc75d-0d04-0410-961f-82ee72b054a4

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3780ba0..c9b72bc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
 2016-10-26  Jeff Law  <law@redhat.com>
 
+	* config/h8300/h8300.c (h8300_print_operand): Adjust FALLTHRU
+	comment to silence warning.
+
 	* config/spu/spu.c (spu_sched_reorder): Add missing fallthru comment.
 	(spu_legitimate_address_p): Fix logic error and add missing fallthru
 	comment.
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c
index 3d06014..7c30292 100644
--- a/gcc/config/h8300/h8300.c
+++ b/gcc/config/h8300/h8300.c
@@ -1741,10 +1741,12 @@ h8300_print_operand (FILE *file, rtx x, int code)
 		      break;
 		    }
 
-		  /* Fall through.  We should not get here if we are
-		     processing bit operations on H8/300 or H8/300H
-		     because 'U' constraint does not allow bit
-		     operations on the tiny area on these machines.  */
+		  /* FALLTHRU */
+
+		  /* We should not get here if we are processing bit
+		     operations on H8/300 or H8/300H because 'U'
+		     constraint does not allow bit operations on the
+		     tiny area on these machines.  */
 
 		case 'X':
 		case 'T':

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

only message in thread, other threads:[~2016-10-26 15:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-26 15:21 Trivial H8 fallthru comment fix Jeff Law

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).