Re: Bug 104404 - Incorrect CFI_cdesc_t "type" member for assumed-type, assumed-rank complex dummy arguments

2022-02-06 Thread Paul Richard Thomas via Fortran
Hi Damian, Tobias Burnus fixed it in 12-branch: GNU Fortran (GCC) 12.0.1 20220203 (experimental) ./a.out - complex(c_float_complex) a_desc->type = 1028 a_desc->elem_len = 8 CFI_type_float_Complex = 1028 CFI_type_double_Complex = 2052 - complex(c_double_complex) --- a_desc-

Re: Bug 104404 - Incorrect CFI_cdesc_t "type" member for assumed-type, assumed-rank complex dummy arguments

2022-02-06 Thread Damian Rouson via Fortran
That's great news. Thanks for letting me know. Damian On Sun, Feb 6, 2022 at 12:48 AM Paul Richard Thomas < paul.richard.tho...@gmail.com> wrote: > Hi Damian, > > Tobias Burnus fixed it in 12-branch: > GNU Fortran (GCC) 12.0.1 20220203 (experimental) > ./a.out > - complex(c_float_complex)

Re: [PATCH] PR/101135 - Load of null pointer when passing absent assumed-shape array argument for an optional dummy argument

2022-02-06 Thread Harald Anlauf via Fortran
Hi Mikael, Am 04.02.22 um 11:45 schrieb Mikael Morin: Hello, Le 29/01/2022 à 22:41, Harald Anlauf via Fortran a écrit : The least invasive change - already pointed out by the reporter - is to check the presence of the argument before dereferencing the data pointer after the offset calculation.

[PATCH] PR fortran/66193 - ICE for initialisation of some non-zero-sized arrays

2022-02-06 Thread Harald Anlauf via Fortran
Dear Fortranners, some instances of valid constant array constructors did lead to ICEs. It turned out that on the one hand we need to attempt simplification of elements of the constructor, especially when we encounter parenthesized expression. On the other hand the occurence of type specs and emp