Re: [PATCH] PR fortran/50549 - should detect different type parameters in structure constructors

2022-03-29 Thread Tobias Burnus
Hi Harald, On 28.03.22 22:03, Harald Anlauf via Fortran wrote: All current cases of printing a HOST_WIDE_INT in gcc/fortran/ use 'sprintf', and I did not find any other use of %wd/%wu. So the mentioned implementation is not really stressed yet... ;-) That's all your fault ;-) (Your commit ht

Re: [PATCH] PR fortran/50549 - should detect different type parameters in structure constructors

2022-03-29 Thread Harald Anlauf via Fortran
Hi Tobias, Am 29.03.22 um 09:14 schrieb Tobias Burnus: Hi Harald, On 28.03.22 22:03, Harald Anlauf via Fortran wrote: All current cases of printing a HOST_WIDE_INT in gcc/fortran/ use 'sprintf', and I did not find any other use of %wd/%wu.  So the mentioned implementation is not really stresse

[PATCH, committed] PR fortran/104571 - ICE in resolve_elemental_actual, at fortran/resolve.cc:2383

2022-03-29 Thread Harald Anlauf via Fortran
Dear all, I committed an obvious patch by Steve to avoid a NULL pointer dereference on checking for invalid specification of an elemental procedure argument: https://gcc.gnu.org/g:69db6e7f4e1d07bf8f33e93a29139cc16c1e0a2f Regtested on x86_64-pc-linux-gnu. Thanks, Harald From 69db6e7f4e1d07bf8f3

GSoC(run-time argument checking project)

2022-03-29 Thread Γιωργος Μελλιος via Fortran
Greetings, I am looking forward to applying for GCC so I was checking the project ideas list. I got interested in the Fortran - run-time argument checking project and I would like to learn some more information about it in order to start doing some research on the specific field so that I will be

[PATCH] PR fortran/104210 - [11/12 Regression] ICE in gfc_zero_size_array, at fortran/arith.cc:1685

2022-03-29 Thread Harald Anlauf via Fortran
Dear all, during error recovery on invalid declarations of functions as coarrays we may hit multiple places with NULL pointer dereferences. The attached patch provides a minimal and conservative solution. Regtested on x86_64-pc-linux-gnu. OK for mainline/11-branch? Thanks, Harald From ce80d4b2

Re: GSoC(run-time argument checking project)

2022-03-29 Thread Tobias Burnus
Hi Γιωργος, On 29.03.22 22:26, Γιωργος Μελλιος via Fortran wrote: I am looking forward to applying for GCC so I was checking the project ideas list. I got interested in the Fortran - run-time argument checking project and I would like to learn some more information about it in order to start doi