This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/20968] Spurious "may be used uninitialized" warning
- From: "James dot Juran at baesystems dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Apr 2005 16:21:31 -0000
- Subject: [Bug middle-end/20968] Spurious "may be used uninitialized" warning
- References: <20050412140415.20968.James.Juran@baesystems.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From James dot Juran at baesystems dot com 2005-04-12 16:21 -------
Thanks for the info. Your testcase does warn in all versions I tested. We can
certainly initialize the variable in our code to get around this issue, but it
would be nice to not have to do this since the initialization is unnecessary.
The original code is obviously more complicated, so manually inlining it as your
test case does is not really a viable option.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20968