This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/81365] [7/8 Regression] GCC miscompiles swap


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |7.2

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
          /* As we replicate the lhs on each incoming edge all
             used SSA names have to be available there.  */
          if (! for_each_index (gimple_assign_lhs_ptr (use_stmt),
                                chk_uses,
                                get_immediate_dominator (CDI_DOMINATORS,
                                                         gimple_bb (phi))))
            goto next;

This is supposed to check correctly but it does not ...

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]