diff options
author | Daniel Franke <franke.daniel@gmail.com> | 2007-05-29 17:10:48 -0400 |
---|---|---|
committer | Daniel Franke <dfranke@gcc.gnu.org> | 2007-05-29 17:10:48 -0400 |
commit | cd5ecab6a73af62791d39b85db942600ccc37dad (patch) | |
tree | a073a1400b9461ba32692af86f7f2c527a3cad86 /gcc/fortran/trans-openmp.c | |
parent | b7616c4045535a8eb987dfc0f2fed84c3efbc675 (diff) | |
download | gcc-cd5ecab6a73af62791d39b85db942600ccc37dad.zip gcc-cd5ecab6a73af62791d39b85db942600ccc37dad.tar.gz gcc-cd5ecab6a73af62791d39b85db942600ccc37dad.tar.bz2 |
gfortran.h: Renamed 'enum gfc_generic_isym_id' to 'enum gfc_isym_id'...
2007-05-29 Daniel Franke <franke.daniel@gmail.com>
* gfortran.h: Renamed 'enum gfc_generic_isym_id' to 'enum gfc_isym_id',
added missing GFC_ISYM_* enumerators, ordered alphabetically.
(struct gfc_intrinsic_sym): Renamed 'generic_id' to 'id'.
(gfc_find_subroutine): New prototype.
* intrinsic.c (add_sym, add_sym_*): Added argument 'id' and changed all callers.
(find_subroutine): Renamed to 'gfc_find_subroutine', removed static.
* dependency.c: Changed usage of isym->generic_id to isym->id.
* openmp.c: Likewise.
* resolve.c: Likewise.
* trans-array.c: Likewise.
* trans-expr.c: Likewise.
* trans-intrinsic.c: Likewise.
* trans-openmp.c: Likewise.
From-SVN: r125168
Diffstat (limited to 'gcc/fortran/trans-openmp.c')
-rw-r--r-- | gcc/fortran/trans-openmp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/fortran/trans-openmp.c b/gcc/fortran/trans-openmp.c index 8ed5fc0..7c381db 100644 --- a/gcc/fortran/trans-openmp.c +++ b/gcc/fortran/trans-openmp.c @@ -733,7 +733,7 @@ gfc_trans_omp_atomic (gfc_code *code) expr2 = code->expr2; if (expr2->expr_type == EXPR_FUNCTION - && expr2->value.function.isym->generic_id == GFC_ISYM_CONVERSION) + && expr2->value.function.isym->id == GFC_ISYM_CONVERSION) expr2 = expr2->value.function.actual->expr; if (expr2->expr_type == EXPR_OP) @@ -773,7 +773,7 @@ gfc_trans_omp_atomic (gfc_code *code) } e = expr2->value.op.op1; if (e->expr_type == EXPR_FUNCTION - && e->value.function.isym->generic_id == GFC_ISYM_CONVERSION) + && e->value.function.isym->id == GFC_ISYM_CONVERSION) e = e->value.function.actual->expr; if (e->expr_type == EXPR_VARIABLE && e->symtree != NULL @@ -786,7 +786,7 @@ gfc_trans_omp_atomic (gfc_code *code) { e = expr2->value.op.op2; if (e->expr_type == EXPR_FUNCTION - && e->value.function.isym->generic_id == GFC_ISYM_CONVERSION) + && e->value.function.isym->id == GFC_ISYM_CONVERSION) e = e->value.function.actual->expr; gcc_assert (e->expr_type == EXPR_VARIABLE && e->symtree != NULL @@ -800,7 +800,7 @@ gfc_trans_omp_atomic (gfc_code *code) else { gcc_assert (expr2->expr_type == EXPR_FUNCTION); - switch (expr2->value.function.isym->generic_id) + switch (expr2->value.function.isym->id) { case GFC_ISYM_MIN: op = MIN_EXPR; |