Fix fr30 WRT fallthru

Jeff Law law@redhat.com
Wed Oct 26 16:20:00 GMT 2016


Exact same code as in another port.  Just adjusting the comment so we 
don't warn on a desired fallthru.  Installing on the trunk.

Jeff
-------------- next part --------------
commit f1203ee28fdad66269ad0d0b761629f50dc3449b
Author: law <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Wed Oct 26 16:19:55 2016 +0000

    	* config/fr30/fr30.c (fr30_print_operand): Adjust fallthru comment.
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241579 138bc75d-0d04-0410-961f-82ee72b054a4

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 12f9c02..45ae4ea 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -35,6 +35,8 @@
 
 2016-10-26  Jeff Law  <law@redhat.com>
 
+	* config/fr30/fr30.c (fr30_print_operand): Adjust fallthru comment.
+
 	* config/frv/frv.c (comparison_string): Do not fall through after
 	an error.
 
diff --git a/gcc/config/fr30/fr30.c b/gcc/config/fr30/fr30.c
index 187302b..d8e95cb 100644
--- a/gcc/config/fr30/fr30.c
+++ b/gcc/config/fr30/fr30.c
@@ -688,7 +688,8 @@ fr30_print_operand (FILE *file, rtx x, int code)
 	  break;
 	}
 
-      /* Fall through.  Let output_addr_const deal with it.  */
+      /* FALLTHRU */
+      /* Let output_addr_const deal with it.  */
     default:
       output_addr_const (file, x);
       break;


More information about the Gcc-patches mailing list