Dear Fortranners,
we should be able to simplify the length of a substring with known
constant bounds. The attached patch adds this.
Regtested on x86_64-pc-linux-gnu.
OK for mainline? Since this should be rather safe, to at least 11-branch?
Thanks,
Harald
Fortran - simplify length of substri
This patch add's OpenMP 5.1's defaultmap extensions to Fortran.
There is one odd thing,
integer :: ii, it
target :: it
both count as nonallocatable, nonpointer scalars (i.e. category 'scalar').
But with implicit mapping (and 'defaultmap(default)'), 'it' is mapped
tofrom due to the TARGET att
Pushed as obvious.
Martin
gcc/fortran/ChangeLog:
* intrinsic.texi: Add missing @headitem to tables with a header.
---
gcc/fortran/intrinsic.texi | 144 ++---
1 file changed, 72 insertions(+), 72 deletions(-)
diff --git a/gcc/fortran/intrinsic.texi b/gcc
Hi!
As the testcase shows, we need to gimplify OMP_CLAUSE_SIZE, so that we
don't end up with SAVE_EXPR or anything similar non-gimple in it.
Bootstrapped/regtested on x86_64-linux and i686-linux, committed to trunk.
2021-06-08 Jakub Jelinek
PR fortran/100965
* trans-openmp.c