Bug 21296 - [3.3 Regression] Missed warning
Summary: [3.3 Regression] Missed warning
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: c (show other bugs)
Version: 3.3.3
: P2 minor
Target Milestone: 3.4.0
Assignee: Not yet assigned to anyone
URL:
Keywords: diagnostic
Depends on:
Blocks:
 
Reported: 2005-04-30 10:40 UTC by Neil Booth
Modified: 2005-04-30 15:15 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work: 3.4.0 4.0.0 4.1.0 2.95.3
Known to fail: 3.3.3 3.0.4
Last reconfirmed: 2005-04-30 15:02:07


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Booth 2005-04-30 10:40:00 UTC
-Wall warns about most statements with no effect.  However, it doesn't warn about

volatile int v;
void foo(void)
{
  &v;
}
Comment 1 Andrew Pinski 2005-04-30 15:02:06 UTC
Hmm, this is only a regression with 3.3, there might be another bug related to this then.
Comment 2 Andrew Pinski 2005-04-30 15:15:14 UTC
Fixed in 3.4.0 and above, This is only a diagnostic problem which is why I am closing it.