[Bug middle-end/22456] [4.1/4.2/4.3 regression] missing "is used uninitialized" warning
manu at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Aug 15 15:02:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list