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/50635] ICE on valid: segfault in vectorize_loops


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

Ira Rosen <irar at il dot ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2011-10-06
                 CC|                            |irar at il dot ibm.com
          Component|target                      |tree-optimization
         AssignedTo|unassigned at gcc dot       |irar at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #3 from Ira Rosen <irar at il dot ibm.com> 2011-10-06 19:14:58 UTC ---
I'll test this fix next week.

Index: tree-vect-patterns.c
===================================================================
--- tree-vect-patterns.c        (revision 179447)
+++ tree-vect-patterns.c        (working copy)
@@ -385,6 +385,7 @@ vect_handle_widen_mult_by_const (gimple stmt, tree
           || TREE_TYPE (gimple_assign_lhs (new_stmt)) != new_type)
         return false;

+      VEC_safe_push (gimple, heap, *stmts, def_stmt);
       *oprnd = gimple_assign_lhs (new_stmt);
     }
   else


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