aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2017-12-01 09:18:52 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2017-12-01 09:18:52 +0100
commitbebadeca367500cf692d550ff0b464ff732ee808 (patch)
tree2a98cc38b6e94cece3cfef34856fbc4b936a4cf9 /gcc
parent65791f426fc950b0af4e6e2ef675c213e623b16f (diff)
downloadgcc-bebadeca367500cf692d550ff0b464ff732ee808.zip
gcc-bebadeca367500cf692d550ff0b464ff732ee808.tar.gz
gcc-bebadeca367500cf692d550ff0b464ff732ee808.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/gimple-ssa-store-merging.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bd2626e..21a7cf6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2017-12-01 Jakub Jelinek <jakub@redhat.com>
+ 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 ce0f1f2..61aca17 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;