public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/56972] New: Missing "may be used uninitialized" warning for "obvious" uninitialized
@ 2013-04-15 16:48 ppluzhnikov at google dot com
2013-04-15 16:49 ` [Bug c/56972] " ppluzhnikov at google dot com
0 siblings, 1 reply; 2+ messages in thread
From: ppluzhnikov at google dot com @ 2013-04-15 16:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56972
Bug #: 56972
Summary: Missing "may be used uninitialized" warning for
"obvious" uninitialized
Classification: Unclassified
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: ppluzhnikov@google.com
Google ref: b/8616613
// t.c
int f(int x)
{
int ret;
switch (x) {
case 3:
ret = 0;
break;
}
return ret;
}
int main()
{
return f(2);
}
gcc -c -Wall -Wextra t.c
# no output
gcc -c -Wall -Wextra -O2 t.c
# no output
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c/56972] Missing "may be used uninitialized" warning for "obvious" uninitialized
2013-04-15 16:48 [Bug c/56972] New: Missing "may be used uninitialized" warning for "obvious" uninitialized ppluzhnikov at google dot com
@ 2013-04-15 16:49 ` ppluzhnikov at google dot com
0 siblings, 0 replies; 2+ messages in thread
From: ppluzhnikov at google dot com @ 2013-04-15 16:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56972
Paul Pluzhnikov <ppluzhnikov at google dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-04-15 16:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-15 16:48 [Bug c/56972] New: Missing "may be used uninitialized" warning for "obvious" uninitialized ppluzhnikov at google dot com
2013-04-15 16:49 ` [Bug c/56972] " ppluzhnikov at google dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).