diff options
Diffstat (limited to 'gcc/langhooks.c')
| -rw-r--r-- | gcc/langhooks.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/langhooks.c b/gcc/langhooks.c index e2460473f54..2285ac17f54 100644 --- a/gcc/langhooks.c +++ b/gcc/langhooks.c @@ -27,7 +27,7 @@ along with GCC; see the file COPYING3. If not see #include "toplev.h" #include "tree.h" #include "tree-inline.h" -#include "tree-gimple.h" +#include "gimple.h" #include "rtl.h" #include "insn-config.h" #include "integrate.h" @@ -303,8 +303,9 @@ lhd_expr_size (const_tree exp) /* lang_hooks.gimplify_expr re-writes *EXPR_P into GIMPLE form. */ int -lhd_gimplify_expr (tree *expr_p ATTRIBUTE_UNUSED, tree *pre_p ATTRIBUTE_UNUSED, - tree *post_p ATTRIBUTE_UNUSED) +lhd_gimplify_expr (tree *expr_p ATTRIBUTE_UNUSED, + gimple_seq *pre_p ATTRIBUTE_UNUSED, + gimple_seq *post_p ATTRIBUTE_UNUSED) { return GS_UNHANDLED; } @@ -527,7 +528,7 @@ lhd_omp_predetermined_sharing (tree decl ATTRIBUTE_UNUSED) tree lhd_omp_assignment (tree clause ATTRIBUTE_UNUSED, tree dst, tree src) { - return build_gimple_modify_stmt (dst, src); + return build2 (MODIFY_EXPR, TREE_TYPE (dst), dst, src); } /* Register language specific type size variables as potentially OpenMP |

