rl78.c (rl78_calculate_death_notes): Add fallthru comment.
authorJeff Law <law@redhat.com>
Wed, 26 Oct 2016 15:42:11 +0000 (09:42 -0600)
committerJeff Law <law@gcc.gnu.org>
Wed, 26 Oct 2016 15:42:11 +0000 (09:42 -0600)
* config/rl78/rl78.c (rl78_calculate_death_notes): Add fallthru
comment.
(rl78_asm_ctor_dtor): Increase buffer size.

From-SVN: r241565

gcc/ChangeLog
gcc/config/rl78/rl78.c

index d778e95bbcfc48ad7f8ab0762a16c7ac4b8beaae..5214b9de5b99c9477b440f650508a0db30490ece 100644 (file)
@@ -1,5 +1,9 @@
 2016-10-26  Jeff Law  <law@redhat.com>
 
+       * config/rl78/rl78.c (rl78_calculate_death_notes): Add fallthru
+       comment.
+       (rl78_asm_ctor_dtor): Increase buffer size.
+
        * config/stormy16/stormy16.c (xstormy16_asm_output_destrutor): Increase
        buffer size.
        (xstormy16_asm_output_constructor): Likewise.
index 08ab8996f4c263a5400659be86de4706a89c2b3d..5375e18dd95d60036ab685e37787dc46569f5fe8 100644 (file)
@@ -3863,6 +3863,7 @@ rtx_insn *insn;
                 after this pass.  */
              break;
            }
+         /* FALLTHRU */
        case CALL_INSN:
          memset (dead, 0, sizeof (dead));
          break;
@@ -4657,7 +4658,7 @@ rl78_asm_ctor_dtor (rtx symbol, int priority, bool is_ctor)
     {
       /* This section of the function is based upon code copied
         from: gcc/varasm.c:get_cdtor_priority_section().  */
-      char buf[16];
+      char buf[18];
 
       sprintf (buf, "%s.%.5u", is_ctor ? ".ctors" : ".dtors",
               MAX_INIT_PRIORITY - priority);