diff options
Diffstat (limited to 'gcc/fortran/trans-expr.c')
-rw-r--r-- | gcc/fortran/trans-expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/trans-expr.c b/gcc/fortran/trans-expr.c index 9e4df47..29550b7 100644 --- a/gcc/fortran/trans-expr.c +++ b/gcc/fortran/trans-expr.c @@ -107,7 +107,7 @@ gfc_make_safe_expr (gfc_se * se) { tree var; - if (TREE_CODE_CLASS (TREE_CODE (se->expr)) == 'c') + if (CONSTANT_CLASS_P (se->expr)) return; /* We need a temporary for this result. */ |