From: Jeff Law Date: Wed, 26 Oct 2016 15:42:11 +0000 (-0600) Subject: rl78.c (rl78_calculate_death_notes): Add fallthru comment. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e741aaa3826715ae2a39850691f5e5efa1a06e6f;p=gcc.git rl78.c (rl78_calculate_death_notes): Add fallthru comment. * config/rl78/rl78.c (rl78_calculate_death_notes): Add fallthru comment. (rl78_asm_ctor_dtor): Increase buffer size. From-SVN: r241565 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d778e95bbcf..5214b9de5b9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2016-10-26 Jeff Law + * 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. diff --git a/gcc/config/rl78/rl78.c b/gcc/config/rl78/rl78.c index 08ab8996f4c..5375e18dd95 100644 --- a/gcc/config/rl78/rl78.c +++ b/gcc/config/rl78/rl78.c @@ -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);