Re: [Patch ]Fortran/OpenMP: Extend defaultmap clause for OpenMP 5 [PR92568]

2021-06-15 Thread Tobias Burnus
On 14.06.21 18:18, Jakub Jelinek wrote: On Wed, Jun 09, 2021 at 02:18:43PM +0200, Tobias Burnus wrote: This patch add's OpenMP 5.1's defaultmap extensions to Fortran. There is one odd thing, [...] The list in 5.1 2.21.7 is ordered, so if defaultmap is present and is not default, it takes prec

Re: [Patch ]Fortran/OpenMP: Extend defaultmap clause for OpenMP 5 [PR92568]

2021-06-15 Thread Jakub Jelinek via Fortran
On Tue, Jun 15, 2021 at 03:45:15PM +0200, Tobias Burnus wrote: > PR fortran/92568 > > gcc/fortran/ChangeLog: > > * dump-parse-tree.c (show_omp_clauses): Update for defaultmap. > * f95-lang.c (LANG_HOOKS_OMP_ALLOCATABLE_P, > LANG_HOOKS_OMP_SCALAR_TARGET_P): New. > * g

[PATCH] PR fortran/101084 - [10/11/12 Regression] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1124

2021-06-15 Thread Harald Anlauf via Fortran
A recent change to the checking of legacy FORMAT tags did not handle cases where the type is not set. Adjust the check. Regtested on x86_64-pc-linux-gnu. OK for mainline / 11- / 10-branch? Thanks, Harald Fortran: reject FORMAT tag of unknown type. gcc/fortran/ChangeLog: PR fortran/1