This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/22456] [4.1/4.2/4.3 regression] missing "is used uninitialized" warning
- From: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Aug 2007 15:02:13 -0000
- Subject: [Bug middle-end/22456] [4.1/4.2/4.3 regression] missing "is used uninitialized" warning
- References: <bug-22456-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #13 from manu at gcc dot gnu dot org 2007-08-15 15:02 -------
(In reply to comment #12)
> Created an attachment (id=13354)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13354&action=view) [edit]
> patch to preserve uninitialized PHI arguments in CCP
>
> like so. -O -Wall gives
>
> t.i: In function 'foo':
> t.i:3: warning: 'i' may be used uninitialized in this function
>
I don't think we want to do this, since it works fine in a lot of testcases
that will get hindered. See http://gcc.gnu.org/ml/gcc/2005-11/msg00028.html
As far as I see this is a duplicate of PR18501.
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22456