[Bug optimization/14016] [tree-ssa] User variable get eliminated, only to be replaced with compiler generated ones

steven at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Feb 4 23:43:00 GMT 2004


------- Additional Comments From steven at gcc dot gnu dot org  2004-02-04 23:43 -------
This comment in gimplify_modify_expr seems to be relevant here: 
 
      /* If the RHS of the MODIFY_EXPR may throw or make a nonlocal goto and 
         the LHS is a user variable, then we need to introduce a temporary. 
         ie temp = RHS; LHS = temp. 
 
         This way the optimizers can determine that the user variable is 
         only modified if evaluation of the RHS does not throw. 
 
         FIXME this should be handled by the is_gimple_rhs predicate.  */ 
 

-- 


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



More information about the Gcc-bugs mailing list