Fortran: Add gfc_simple_for_loop aux function
authorTobias Burnus <tobias@codesourcery.com>
Wed, 22 Sep 2021 09:11:00 +0000 (11:11 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Wed, 22 Sep 2021 09:11:00 +0000 (11:11 +0200)
commit424a4a463ac5932830a83560cf929f9c2f4564d8
tree7d40ce9c14ff14897467857530b89a0b62f1ce35
parentb0321032658d875bee7584d8e3a8cbdd275c99d5
Fortran: Add gfc_simple_for_loop aux function

Function to generate a simple loop (to be used internally).
Callers will be added in follow-up commits.

gcc/fortran/
* trans-expr.c (gfc_simple_for_loop): New.
* trans.h (gfc_simple_for_loop): New prototype.
gcc/fortran/trans-expr.c
gcc/fortran/trans.h