This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix build of gimple-ssa-store-merging.c with -std=c++98
- From: Jeff Law <law at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>, Richard Biener <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 30 Nov 2017 17:15:03 -0700
- Subject: Re: [PATCH] Fix build of gimple-ssa-store-merging.c with -std=c++98
- Authentication-results: sourceware.org; auth=none
- References: <20171130231855.GU2353@tucnak>
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