This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/33279] Failed to warn uninitialized stack variable
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Sep 2007 14:03:06 -0000
- Subject: [Bug middle-end/33279] Failed to warn uninitialized stack variable
- References: <bug-33279-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from rguenth at gcc dot gnu dot org 2007-09-02 14:03 -------
"What does bar get back to? Are you saying if a pointer is passed to bar,
it can get back to any original struct where the pointer is a field?"
No, but if you pass a pointer to a field of a struct the callee may derive
the address of the containing object and modify it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33279