[Bug c/21296] New: Missed warning

neil at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Apr 30 10:40:00 GMT 2005


-Wall warns about most statements with no effect.  However, it doesn't warn about

volatile int v;
void foo(void)
{
  &v;
}

-- 
           Summary: Missed warning
           Product: gcc
           Version: 3.3.3
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: neil at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21296



More information about the Gcc-bugs mailing list