Re: [RFC, testsuite/guality] Use relative line numbers in gdb-test

2018-07-04 Thread Richard Sandiford
Tom de Vries writes: > [ was: [PATCH, testsuite/guality] Use line number vars in gdb-test ] > On Thu, Jun 28, 2018 at 07:49:30PM +0200, Tom de Vries wrote: >> Hi, >> >> I played around with pr45882.c and ran into FAILs. It took me a while to >> realize that the FAILs where due to the gdb-test (a

Re: [RFC, testsuite/guality] Use relative line numbers in gdb-test

2018-07-02 Thread Mike Stump
On Jun 28, 2018, at 12:39 PM, Tom de Vries wrote: > This patch adds a dg-final override that passes it's first argument to the > gdb-test action. This allows us to use relative line numbers in gdb-test. > > Tested pr45882.c. > > Any comments? > 2018-06-28 Tom de Vries > > * gcc.dg/gu

[RFC, testsuite/guality] Use relative line numbers in gdb-test

2018-06-28 Thread Tom de Vries
[ was: [PATCH, testsuite/guality] Use line number vars in gdb-test ] On Thu, Jun 28, 2018 at 07:49:30PM +0200, Tom de Vries wrote: > Hi, > > I played around with pr45882.c and ran into FAILs. It took me a while to > realize that the FAILs where due to the gdb-test (a dg-final action) using > abs