Commit d8126ae1 by Kugan Vivekanandarajah Committed by Kugan Vivekanandarajah

ipa-prop.c (ipa_set_jf_constant): Remove redundant unshare_expr.

gcc/ChangeLog:

2016-01-22  Kugan Vivekanandarajah  <kuganv@linaro.org>

	* ipa-prop.c (ipa_set_jf_constant): Remove redundant unshare_expr.

From-SVN: r232725
parent 5ac6cdbb
2016-01-22 Kugan Vivekanandarajah <kuganv@linaro.org>
* ipa-prop.c (ipa_set_jf_constant): Remove redundant unshare_expr.
2016-01-22 Christian Bruel <christian.bruel@st.com>
* config/arm/arm-c.c (arm_pragma_target_parse):
......
......@@ -402,9 +402,6 @@ static void
ipa_set_jf_constant (struct ipa_jump_func *jfunc, tree constant,
struct cgraph_edge *cs)
{
constant = unshare_expr (constant);
if (constant && EXPR_P (constant))
SET_EXPR_LOCATION (constant, UNKNOWN_LOCATION);
jfunc->type = IPA_JF_CONST;
jfunc->value.constant.value = unshare_expr_without_location (constant);
......
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