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/63962] [5 Regression][x86] Code pessimization after r217213


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2014-11-19
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  I missed a !has_single_use when converting this pattern:

  /* Associate (p +p off1) +p off2 as (p +p (off1 + off2)).  */
  ptr = gimple_assign_rhs1 (stmt);
  off1 = gimple_assign_rhs2 (stmt);
  if (TREE_CODE (ptr) != SSA_NAME
      || !has_single_use (ptr))
    return false;


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