Re: How to add an additional option to dg-compile and dg-run

2024-08-01 Thread Thomas Koenig
Am 29.07.24 um 22:14 schrieb Thomas Schwinge: By the way: I did see your recent announcement; wow -- Fortran finally getting an UNSIGNED type! 🙂 Yep, at lest J3 accepted a propoasl. I would like to be able to run all existing Fortran tests also with -funsigned, to make sure the option does

Re: How to add an additional option to dg-compile and dg-run

2024-07-29 Thread Thomas Schwinge
Hi Thomas! On 2024-07-29T10:18:49+0200, Thomas Koenig via Gcc wrote: > for the fortran-unsigned branch By the way: I did see your recent announcement; wow -- Fortran finally getting an UNSIGNED type! :-) > I would like to be able to run all > existing Fortran tests also with -funsigned, to mak

Re: How to add an additional option to dg-compile and dg-run

2024-07-29 Thread Thomas Koenig
Hi Andrew, Any other possibilites? Yes you could add it into the list of Torture options that gfortran-dg-runtest uses. Something like: ``` diff --git a/gcc/testsuite/lib/gfortran-dg.exp b/gcc/testsuite/lib/gfortran-dg.exp index fcba95dc396..0589d507382 100644 --- a/gcc/testsuite/lib/gfortran-d

Re: How to add an additional option to dg-compile and dg-run

2024-07-29 Thread Andrew Pinski
On Mon, Jul 29, 2024 at 1:20 AM Thomas Koenig wrote: > > Hi, > > for the fortran-unsigned branch, I would like to be able to run all > existing Fortran tests also with -funsigned, to make sure the option > does not break anything on existing code. > > Question is: How? > > I came as far as > > $ m

Re: How to add an additional option to dg-compile and dg-run

2024-07-29 Thread Jonathan Wakely
On Mon, 29 Jul 2024 at 10:20, Jonathan Wakely wrote: > > On Mon, 29 Jul 2024 at 09:20, Thomas Koenig via Gcc wrote: > > > > Hi, > > > > for the fortran-unsigned branch, I would like to be able to run all > > existing Fortran tests also with -funsigned, to make sure the option > > does not break a

Re: How to add an additional option to dg-compile and dg-run

2024-07-29 Thread Jonathan Wakely
On Mon, 29 Jul 2024 at 09:20, Thomas Koenig via Gcc wrote: > > Hi, > > for the fortran-unsigned branch, I would like to be able to run all > existing Fortran tests also with -funsigned, to make sure the option > does not break anything on existing code. > > Question is: How? > > I came as far as >