This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19190] [4.0 regression] warning "value computed is not used" emitted too often
- From: "mark at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Dec 2004 20:40:13 -0000
- Subject: [Bug c++/19190] [4.0 regression] warning "value computed is not used" emitted too often
- References: <20041229165250.19190.mueller@kde.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mark at codesourcery dot com 2004-12-29 20:40 -------
Subject: Re: [4.0 regression] warning "value computed is not
used" emitted too often
pinskia at gcc dot gnu dot org wrote:
> ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-29 18:00 -------
> Confirmed, I wonder if this is because there are casts added by the front-end:
> (void) (unsigned int)
No, it's because STRIP_NOPS doesn't work as I thought it did. I'm
testing a fix.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19190