This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/21296] New: Missed warning
- From: "neil at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Apr 2005 10:40:01 -0000
- Subject: [Bug c/21296] New: Missed warning
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
-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