public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/22297] [4.3/4.4/4.5/4.6 Regression] missing uninitialized warning (builtin functions)
[not found] <bug-22297-4@http.gcc.gnu.org/bugzilla/>
@ 2011-01-19 22:06 ` nicola at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: nicola at gcc dot gnu.org @ 2011-01-19 22:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22297
Nicola Pero <nicola at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |nicola at gcc dot gnu.org
Known to work| |4.6.0
Resolution| |FIXED
Target Milestone|4.3.6 |4.6.0
--- Comment #11 from Nicola Pero <nicola at gcc dot gnu.org> 2011-01-19 21:40:14 UTC ---
This works for me with GCC 4.6.0 --
[nicola@lampone ~]$ cat x.c
#include <string.h>
int g(char *);
int f(void)
{
char *s;
strcpy(s,s);
return g(s);
}
[nicola@lampone ~]$ gcc x.c -Wall -c -O2
x.c: In function ‘f’:
x.c:8:3: warning: ‘s’ is used uninitialized in this function [-Wuninitialized]
[nicola@lampone ~]$
The same doesn't work with GCC 4.1.2, where the same gcc command generates
no warnings at all.
So it looks like the problem has been fixed :-)
Thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c/22297] [4.3/4.4/4.5/4.6 Regression] missing uninitialized warning (builtin functions)
[not found] <bug-22297-6528@http.gcc.gnu.org/bugzilla/>
@ 2010-05-22 18:27 ` rguenth at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-22 18:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from rguenth at gcc dot gnu dot org 2010-05-22 18:10 -------
GCC 4.3.5 is being released, adjusting target milestone.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.3.5 |4.3.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22297
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-19 21:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-22297-4@http.gcc.gnu.org/bugzilla/>
2011-01-19 22:06 ` [Bug c/22297] [4.3/4.4/4.5/4.6 Regression] missing uninitialized warning (builtin functions) nicola at gcc dot gnu.org
[not found] <bug-22297-6528@http.gcc.gnu.org/bugzilla/>
2010-05-22 18:27 ` rguenth at gcc dot gnu dot org
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).