Re: [PATCH] gcc-dg.exp: support more than one digit in relative line number notation

2016-12-27 Thread Mike Stump
On Dec 27, 2016, at 2:51 PM, David Malcolm wrote: > > In r240391 Jakub added relative line number notation (.+4 or .-1 etc) > for DejaGnu messages. > > This patch tweaks the regex to allow relative line numbers containing > more than one digit (I ran into this with a test for a diagnostic > that

[PATCH] gcc-dg.exp: support more than one digit in relative line number notation

2016-12-27 Thread David Malcolm
In r240391 Jakub added relative line number notation (.+4 or .-1 etc) for DejaGnu messages. This patch tweaks the regex to allow relative line numbers containing more than one digit (I ran into this with a test for a diagnostic that issues multiple notes, for which I wanted to verify the diagnosti