diff options
Diffstat (limited to 'gcc/fortran/trans.c')
-rw-r--r-- | gcc/fortran/trans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/trans.c b/gcc/fortran/trans.c index 306c4759109..8005b32924b 100644 --- a/gcc/fortran/trans.c +++ b/gcc/fortran/trans.c @@ -127,7 +127,7 @@ gfc_evaluate_now (tree expr, stmtblock_t * pblock) { tree var; - if (TREE_CODE_CLASS (TREE_CODE (expr)) == 'c') + if (CONSTANT_CLASS_P (expr)) return expr; var = gfc_create_var (TREE_TYPE (expr), NULL); |