diff options
author | Thomas Koenig <tkoenig@gcc.gnu.org> | 2019-08-13 15:08:10 +0000 |
---|---|---|
committer | Thomas Koenig <tkoenig@gcc.gnu.org> | 2019-08-13 15:08:10 +0000 |
commit | fb3f5eae9f6c9ab6d9754e8f86da9181cdce47e2 (patch) | |
tree | ff4f7246043db7208ff16c538b53adc1123f3ef2 /gcc/fortran/trans.h | |
parent | cb0a83f3437be73075fba17db68abbf240d17a36 (diff) | |
download | gcc-fb3f5eae9f6c9ab6d9754e8f86da9181cdce47e2.zip gcc-fb3f5eae9f6c9ab6d9754e8f86da9181cdce47e2.tar.gz gcc-fb3f5eae9f6c9ab6d9754e8f86da9181cdce47e2.tar.bz2 |
re PR fortran/90561 (ICE in gimplify_var_or_parm_decl, at gimplify.c:2747)
2019-08-13 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/90561
* trans.h (gfc_evaluate_now_function_scope): New function.
* trans.c (gfc_evaluate_now_function_scope): New function.
* trans-expr.c (gfc_trans_assignment): Use it.
2019-08-13 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/90561
* gfortran.dg/deferred_character_34.f90: New test.
From-SVN: r274383
Diffstat (limited to 'gcc/fortran/trans.h')
-rw-r--r-- | gcc/fortran/trans.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/fortran/trans.h b/gcc/fortran/trans.h index 0305d33..a3726e8 100644 --- a/gcc/fortran/trans.h +++ b/gcc/fortran/trans.h @@ -507,6 +507,7 @@ void gfc_conv_label_variable (gfc_se * se, gfc_expr * expr); /* If the value is not constant, Create a temporary and copy the value. */ tree gfc_evaluate_now_loc (location_t, tree, stmtblock_t *); tree gfc_evaluate_now (tree, stmtblock_t *); +tree gfc_evaluate_now_function_scope (tree, stmtblock_t *); /* Find the appropriate variant of a math intrinsic. */ tree gfc_builtin_decl_for_float_kind (enum built_in_function, int); |