Re: [PATCH] OpenMP: Duplicate checking for map clauses in Fortran (PR107214)

2022-10-26 Thread Tobias Burnus
Hi Julian, I had a first quick lock at this patch, I should have a closer look later. However, I stumbled over the following: On 20.10.22 18:14, Julian Brown wrote: typedef struct gfc_symbol { ... struct gfc_symbol *old_symbol; unsigned mark:1, comp_mark:1, data_mark:1, dev_mark:1, gen_m

[PATCH] Fortran: BOZ literal constants are not compatible to any type [PR103413]

2022-10-26 Thread Harald Anlauf via Fortran
Dear all, a BOZ as source-expression in an ALLOCATE statement could lead to an ICE when the allocate-object was a CLASS variable. Since a BOZ has no type, we can handle it as type incompatible with any type. This is also what the Cray compiler does for the code in the testcase. Regtested on x86_

Re: [PATCH] Fortran: BOZ literal constants are not compatible to any type [PR103413]

2022-10-26 Thread Mikael Morin
Hello, Le 26/10/2022 à 21:15, Harald Anlauf via Fortran a écrit : Dear all, a BOZ as source-expression in an ALLOCATE statement could lead to an ICE when the allocate-object was a CLASS variable. Since a BOZ has no type, we can handle it as type incompatible with any type. This is also what th