This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19190] New: [4.0 regression] warning "value computed is not used" emitted too often
- From: "mueller at kde dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Dec 2004 16:52:51 -0000
- Subject: [Bug c++/19190] New: [4.0 regression] warning "value computed is not used" emitted too often
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
after the fix for #11224 it now emits the warning almost everywhere.. e.g.
=== cut ===
struct breakme
{
void setAction( unsigned char a ) { act = a; }
unsigned int act:8;
};
=== cut ===
$ g++ -Wall -c test.cc
test.cc: In member function ‘void breakme::setAction(unsigned char)’:
test.cc:3: warning: value computed is not used
--
Summary: [4.0 regression] warning "value computed is not used"
emitted too often
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: c++
AssignedTo: mmitchel at gcc dot gnu dot org
ReportedBy: mueller at kde dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19190