From bebadeca367500cf692d550ff0b464ff732ee808 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 1 Dec 2017 09:18:52 +0100 Subject: [PATCH] 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 --- gcc/ChangeLog | 4 ++++ gcc/gimple-ssa-store-merging.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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; -- 2.30.2