Commit 4eb3f32c by Richard Guenther Committed by Richard Biener

ipa-prop.c (ipa_modify_formal_parameters): Use build_distinct_type_copy.

2010-07-30  Richard Guenther  <rguenther@suse.de>

	* ipa-prop.c (ipa_modify_formal_parameters): Use
	build_distinct_type_copy.

From-SVN: r162707
parent 1242723c
2010-07-30 Richard Guenther <rguenther@suse.de>
* ipa-prop.c (ipa_modify_formal_parameters): Use
build_distinct_type_copy.
2010-07-30 Anthony Green <green@moxielogic.com> 2010-07-30 Anthony Green <green@moxielogic.com>
* config/moxie/rtems.h: New file. * config/moxie/rtems.h: New file.
......
...@@ -2077,7 +2077,7 @@ ipa_modify_formal_parameters (tree fndecl, ipa_parm_adjustment_vec adjustments, ...@@ -2077,7 +2077,7 @@ ipa_modify_formal_parameters (tree fndecl, ipa_parm_adjustment_vec adjustments,
|| (VEC_index (ipa_parm_adjustment_t, adjustments, 0)->copy_param || (VEC_index (ipa_parm_adjustment_t, adjustments, 0)->copy_param
&& VEC_index (ipa_parm_adjustment_t, adjustments, 0)->base_index == 0)) && VEC_index (ipa_parm_adjustment_t, adjustments, 0)->base_index == 0))
{ {
new_type = copy_node (orig_type); new_type = build_distinct_type_copy (orig_type);
TYPE_ARG_TYPES (new_type) = new_reversed; TYPE_ARG_TYPES (new_type) = new_reversed;
} }
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment