aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/gfortran.h
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@codesourcery.com>2010-06-27 20:00:50 +0000
committerNathan Froyd <froydnj@gcc.gnu.org>2010-06-27 20:00:50 +0000
commite7041633a5b9ac8eb09b92de5321bf3184a7b98f (patch)
treefa9685b9314b38bc39469f771fb889342e130b2d /gcc/fortran/gfortran.h
parentde8f4b07c03ffb0db0562f462be066684af2f0b7 (diff)
downloadgcc-e7041633a5b9ac8eb09b92de5321bf3184a7b98f.zip
gcc-e7041633a5b9ac8eb09b92de5321bf3184a7b98f.tar.gz
gcc-e7041633a5b9ac8eb09b92de5321bf3184a7b98f.tar.bz2
gfortran.h (gfc_code): Split backend_decl field into cycle_label and exit_label fields.
* gfortran.h (gfc_code): Split backend_decl field into cycle_label and exit_label fields. * trans-openmp.c (gfc_trans_omp_do): Assign to new fields individually. * trans-stmt.c (gfc_trans_simple_do): Likewise. (gfc_trans_do): Likewise. (gfc_trans_do_while): Likewise. (gfc_trans_cycle): Use cycle_label directly. (gfc_trans_exit): Use exit_label directly. From-SVN: r161473
Diffstat (limited to 'gcc/fortran/gfortran.h')
-rw-r--r--gcc/fortran/gfortran.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/fortran/gfortran.h b/gcc/fortran/gfortran.h
index 4a9b5f0..0c96bf4 100644
--- a/gcc/fortran/gfortran.h
+++ b/gcc/fortran/gfortran.h
@@ -2077,9 +2077,9 @@ typedef struct gfc_code
}
ext; /* Points to additional structures required by statement */
- /* Backend_decl is used for cycle and break labels in do loops, and
- probably for other constructs as well, once we translate them. */
- tree backend_decl;
+ /* Cycle and break labels in do loops. */
+ tree cycle_label;
+ tree exit_label;
}
gfc_code;