Skip to content
Snippets Groups Projects
  • Richard Kenner's avatar
    73d6ddef
    gimplify.c (gimplify_conversion): Remove stripping useless conversions from here. · 73d6ddef
    Richard Kenner authored
    	* gimplify.c (gimplify_conversion): Remove stripping useless
    	conversions from here.
    	(gimplify_expr): Put it here, in place of call to STRIP_MAIN_TYPE_NOPS.
    	(gimplify_modify_expr_to_memcpy, gimplify_variable_sized_compare):
    	Unshare before substituting PLACEHOLDER_EXPR.
    	(gimplify_modify_expr_to_memset): Likewise.
    	Pass address of TO to memset, not TO itself.
    	(gimplify_init_constructor): Make copy of OBJECT so we have it each
    	time we make an expression (to match a PLACEHOLDER_EXPR).
    
    From-SVN: r84056
    73d6ddef
    History
    gimplify.c (gimplify_conversion): Remove stripping useless conversions from here.
    Richard Kenner authored
    	* gimplify.c (gimplify_conversion): Remove stripping useless
    	conversions from here.
    	(gimplify_expr): Put it here, in place of call to STRIP_MAIN_TYPE_NOPS.
    	(gimplify_modify_expr_to_memcpy, gimplify_variable_sized_compare):
    	Unshare before substituting PLACEHOLDER_EXPR.
    	(gimplify_modify_expr_to_memset): Likewise.
    	Pass address of TO to memset, not TO itself.
    	(gimplify_init_constructor): Make copy of OBJECT so we have it each
    	time we make an expression (to match a PLACEHOLDER_EXPR).
    
    From-SVN: r84056