Hi!

Markus reported that C++98 mode is unhappy about anonymous namespace
with anonymous structure typed variables.

The following should fix that, bootstrapped/regtested on x86_64-linux
and i686-linux, ok for trunk?

2017-11-30  Jakub Jelinek  <ja...@redhat.com>

        PR tree-optimization/83233
        * gimple-ssa-store-merging.c (nop_stats, bswap_stats): Use
        bswap_stat name for the struct.

--- gcc/gimple-ssa-store-merging.c.jj   2017-11-21 14:53:50.000000000 +0100
+++ gcc/gimple-ssa-store-merging.c      2017-11-30 20:00:15.669946061 +0100
@@ -170,7 +170,7 @@
 
 namespace {
 
-struct
+struct bswap_stat
 {
   /* Number of hand-written 16-bit nop / bswaps found.  */
   int found_16bit;

        Jakub

Reply via email to