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/32231] [4.3 Regression] Segfault in verify_ssa_name



------- Comment #12 from pinskia at gcc dot gnu dot org  2007-06-07 01:49 -------
I have a fix, there is a missing update_stmt :) at the very end of
vectorizable_call after it does:
  /* The call in STMT might prevent it from being removed in dce.  We however
     cannot remove it here, due to the way the ssa name it defines is mapped
     to the new definition.  So just replace rhs of the statement with
something
     harmless.  */
  type = TREE_TYPE (scalar_dest);
  GIMPLE_STMT_OPERAND (stmt, 1) = fold_convert (type, integer_zero_node);


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


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


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