Re: Testing for prototypes generated from Fortran

2025-05-11 Thread Richard Biener via Gcc
On Sun, May 11, 2025 at 8:38 PM Harald Anlauf wrote: > > Hi Thomas, > > Am 11.05.25 um 12:51 schrieb Thomas Koenig via Gcc: > > Hi Harald, > > > >> Hi Thomas, > >> > >> On 5/11/25 10:34, Thomas Koenig via Gcc wrote: > >>> As PR120139 has shown (again), it is too easy to create regressions > >>> fo

Re: Testing for prototypes generated from Fortran

2025-05-11 Thread Ben Boeckel via Gcc
On Sun, May 11, 2025 at 10:34:11 +0200, Thomas Koenig via Gcc wrote: > 2) Dump to standard output and check for the presence of certain > regexps, ignoring anything else. Again, this is something I don't > know how to do. This is…fraught with peril and fiddliness. If the test can stomach some C++

Re: Testing for prototypes generated from Fortran

2025-05-11 Thread Harald Anlauf via Gcc
Hi Thomas, Am 11.05.25 um 12:51 schrieb Thomas Koenig via Gcc: Hi Harald, Hi Thomas, On 5/11/25 10:34, Thomas Koenig via Gcc wrote: As PR120139 has shown (again), it is too easy to create regressions for dumping C prototypes from Fortran.  The main problem is that there is currently no test

Re: Testing for prototypes generated from Fortran

2025-05-11 Thread Thomas Koenig via Gcc
Hi Harald, Hi Thomas, On 5/11/25 10:34, Thomas Koenig via Gcc wrote: As PR120139 has shown (again), it is too easy to create regressions for dumping C prototypes from Fortran.  The main problem is that there is currently no test in the testsuite. for something along this variant you can tr

Re: Testing for prototypes generated from Fortran

2025-05-11 Thread Harald Anlauf via Gcc
Hi Thomas, On 5/11/25 10:34, Thomas Koenig via Gcc wrote: As PR120139 has shown (again), it is too easy to create regressions for dumping C prototypes from Fortran.  The main problem is that there is currently no test in the testsuite. So, what to do?  I see several possibilities: 1a) Change t

Testing for prototypes generated from Fortran

2025-05-11 Thread Thomas Koenig via Gcc
As PR120139 has shown (again), it is too easy to create regressions for dumping C prototypes from Fortran. The main problem is that there is currently no test in the testsuite. So, what to do? I see several possibilities: 1a) Change the relevant options so that they optionally create a file (s