https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65686

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.4                         |7.0
            Summary|[5/6 regression]            |[5/6/7 regression]
                   |inconsistent warning        |inconsistent warning
                   |maybe-uninitialized: warn   |maybe-uninitialized: warn
                   |about 'unsigned', not warn  |about 'unsigned', not warn
                   |about 'int'                 |about 'int'

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #11)
> So we can simplify the fix for PR13962 by only considering pointer with decl
> compares which points-to should handle well enough (and not fall into the
> issue
> of bogus ptr1 vs. ptr2 simplifications because we don't properly track
> whether
> ptr1 or ptr2 may be NULL).  ISTR such checks also happen in libstdc++ code.
> 
> Not sure if appropriate at this stage, I would tend to a no here.  I'll queue
> re-visiting PR13962 during next stage1.

I agree it is too risky now.  Let's retarget this at GCC 7 then.

Reply via email to