[Bug c++/19190] [4.0 regression] warning "value computed is not used" emitted too often

mark at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Wed Dec 29 20:40:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list