[Bug middle-end/20968] spurious "may be used uninitialized" warning (conditional PHIs)

law at redhat dot com gcc-bugzilla@gcc.gnu.org
Tue Nov 19 07:07:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20968

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |law at redhat dot com
         Resolution|---                         |FIXED

--- Comment #9 from Jeffrey A. Law <law at redhat dot com> ---
Fixed, not sure how long ago.  4.8.2 is clean.  I did double check that it's
clean because we actually do all the right things in the optimizers to both
eliminate the unwanted ADDRESSOF which then exposes "i" as a local scalar. 
Then the optimizers thread the paths properly and as a result there's no
uninitializes uses left (in fact, there are no uses of "i" left as the only one
was determined to be a constant.



More information about the Gcc-bugs mailing list