Re: [RFA gfortran] PR 25071: dummy argument larger than actual argument

2017-09-29 Thread Dominique d'Humières
Committed as revisions r253286 and r253287. Dominique > Le 29 sept. 2017 à 15:07, Dominique d'Humières a écrit : > > Thanks for the quick review. The change logs are > > 2017-09-29 Dominique d'Humieres > > PR fortran/25071 > * interface.c (compare_actual_formal): Change warni

Re: [RFA gfortran] PR 25071: dummy argument larger than actual argument

2017-09-29 Thread Dominique d'Humières
Thanks for the quick review. The change logs are 2017-09-29 Dominique d'Humieres PR fortran/25071 * interface.c (compare_actual_formal): Change warnings to errors when "Actual argument contains too few elements for dummy argument", unless -std=legacy is used. 2

Re: [RFA gfortran] PR 25071: dummy argument larger than actual argument

2017-09-29 Thread Janne Blomqvist
On Thu, Sep 28, 2017 at 3:57 PM, Dominique d'Humières wrote: > Hi all, > > In the PR there was some consensus to turn the warnings into errors. > > This is what the patch does: the warnings are kept with -std=legacy, errors > are emitted otherwise. > I am sure it may exist a better solution, but

[RFA gfortran] PR 25071: dummy argument larger than actual argument

2017-09-28 Thread Dominique d'Humières
Hi all, In the PR there was some consensus to turn the warnings into errors. This is what the patch does: the warnings are kept with -std=legacy, errors are emitted otherwise. I am sure it may exist a better solution, but I did not find it. While regtesting I have found several regressions o