diff options
author | Janne Blomqvist <jb@gcc.gnu.org> | 2013-04-11 00:36:58 +0300 |
---|---|---|
committer | Janne Blomqvist <jb@gcc.gnu.org> | 2013-04-11 00:36:58 +0300 |
commit | 524af0d6c72031c249aa737945fde6ac3d726ba2 (patch) | |
tree | 3848fcd998968ff83378e8ad827c05578ce1d1fb /gcc/fortran/frontend-passes.c | |
parent | 0ea8a6f9c72e6e8bf22a0f6da9295aed27e1ca1e (diff) | |
download | gcc-524af0d6c72031c249aa737945fde6ac3d726ba2.zip gcc-524af0d6c72031c249aa737945fde6ac3d726ba2.tar.gz gcc-524af0d6c72031c249aa737945fde6ac3d726ba2.tar.bz2 |
Replace enum gfc_try with bool type.
2013-04-11 Janne Blomqvist <jb@gcc.gnu.org>
* gfortran.h: Remove enum gfc_try, replace gfc_try with bool type.
* arith.c: Replace gfc_try with bool type.
* array.c: Likewise.
* check.c: Likewise.
* class.c: Likewise.
* cpp.c: Likewise.
* cpp.h: Likewise.
* data.c: Likewise.
* data.h: Likewise.
* decl.c: Likewise.
* error.c: Likewise.
* expr.c: Likewise.
* f95-lang.c: Likewise.
* interface.c: Likewise.
* intrinsic.c: Likewise.
* intrinsic.h: Likewise.
* io.c: Likewise.
* match.c: Likewise.
* match.h: Likewise.
* module.c: Likewise.
* openmp.c: Likewise.
* parse.c: Likewise.
* parse.h: Likewise.
* primary.c: Likewise.
* resolve.c: Likewise.
* scanner.c: Likewise.
* simplify.c: Likewise.
* symbol.c: Likewise.
* trans-intrinsic.c: Likewise.
* trans-openmp.c: Likewise.
* trans-stmt.c: Likewise.
* trans-types.c: Likewise.
From-SVN: r197682
Diffstat (limited to 'gcc/fortran/frontend-passes.c')
-rw-r--r-- | gcc/fortran/frontend-passes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fortran/frontend-passes.c b/gcc/fortran/frontend-passes.c index b2d0116..9749314 100644 --- a/gcc/fortran/frontend-passes.c +++ b/gcc/fortran/frontend-passes.c @@ -588,7 +588,7 @@ cfe_expr_0 (gfc_expr **e, int *walk_subtrees, newvar = NULL; for (j=0; j<i; j++) { - if (gfc_dep_compare_functions(*(expr_array[i]), + if (gfc_dep_compare_functions (*(expr_array[i]), *(expr_array[j]), true) == 0) { if (newvar == NULL) @@ -936,7 +936,7 @@ optimize_assignment (gfc_code * c) remove_trim (rhs); /* Replace a = ' ' by a = '' to optimize away a memcpy. */ - if (is_empty_string(rhs)) + if (is_empty_string (rhs)) rhs->value.character.length = 0; } |