Message ID | 20171130231855.GU2353@tucnak |
---|---|
State | New |
Headers | show |
Series | Fix build of gimple-ssa-store-merging.c with -std=c++98 | expand |
On 11/30/2017 04:18 PM, Jakub Jelinek wrote: > 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 <jakub@redhat.com> > > PR tree-optimization/83233 > * gimple-ssa-store-merging.c (nop_stats, bswap_stats): Use > bswap_stat name for the struct. OK. jeff
--- 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;