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

Reply via email to