From: Jakub Jelinek Date: Fri, 1 Dec 2017 08:18:52 +0000 (+0100) Subject: re PR tree-optimization/83233 (gimple-ssa-store-merging.c:183:3: warning: unnamed... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bebadeca367500cf692d550ff0b464ff732ee808;p=gcc.git re PR tree-optimization/83233 (gimple-ssa-store-merging.c:183:3: warning: unnamed type with no linkage used to declare variable with linkage) PR tree-optimization/83233 * gimple-ssa-store-merging.c (nop_stats, bswap_stats): Use bswap_stat name for the struct. From-SVN: r255299 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bd2626e0213..21a7cf6a396 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2017-12-01 Jakub Jelinek + PR tree-optimization/83233 + * gimple-ssa-store-merging.c (nop_stats, bswap_stats): Use + bswap_stat name for the struct. + PR c/79153 * tree.h (SWITCH_BREAK_LABEL_P): Define. * gimplify.c (collect_fallthrough_labels): Handle GIMPLE_BIND diff --git a/gcc/gimple-ssa-store-merging.c b/gcc/gimple-ssa-store-merging.c index ce0f1f21426..61aca1743fc 100644 --- a/gcc/gimple-ssa-store-merging.c +++ b/gcc/gimple-ssa-store-merging.c @@ -170,7 +170,7 @@ namespace { -struct +struct bswap_stat { /* Number of hand-written 16-bit nop / bswaps found. */ int found_16bit;