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 optimization/14016] [tree-ssa] User variable get eliminated, only to be replaced with compiler generated ones


------- 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


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