mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-26 17:00:58 +08:00
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
This commit is contained in:
parent
5ac6cdbb50
commit
d8126ae1cf
@ -1,3 +1,7 @@
|
||||
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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user