This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: new warning on the 3.0 branch
- To: Gabriel Dos Reis <gdr at codesourcery dot com>, Sylvain Pion <Sylvain dot Pion at sophia dot inria dot fr>
- Subject: Re: new warning on the 3.0 branch
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Mon, 13 Aug 2001 08:36:06 -0700
- cc: "nathan at codesourcery dot com" <nathan at codesourcery dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
--On Monday, August 13, 2001 05:13:58 PM +0200 Gabriel Dos Reis
<gdr@codesourcery.com> wrote:
> Sylvain Pion <Sylvain.Pion@sophia.inria.fr> writes:
>
> | There is a new warning that appeared last week on the 3.0 branch, which
> I | suspect comes from Nathan's recent changes.
> | Compiling the following program with "g++ -Wall" :
> |
> | struct empty{};
> |
> | int main()
> | {
> | empty a, b;
> | a = b;
> | return 0;
> | }
> |
> | produces the warning :
> | empty_copy_warning.C:7: warning: statement with no effect
>
>
> The symptoms you're describing match bug report #3989
I will look into this, and try to fix it.
Thanks,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com