gcc-dg.exp (process-message): Support relative line number notation - .+4 or .-1...
authorJakub Jelinek <jakub@redhat.com>
Fri, 23 Sep 2016 07:46:15 +0000 (09:46 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 23 Sep 2016 07:46:15 +0000 (09:46 +0200)
commitf2e81d0585673e93f4225599f190c6764ddb0fec
treec706dd9dc679444b86223f5a8544af5b34cb6c47
parentaaa1b10f5419420ef419b6f74299e516f19e5877
gcc-dg.exp (process-message): Support relative line number notation - .+4 or .-1 etc.

* lib/gcc-dg.exp (process-message): Support relative line number
notation - .+4 or .-1 etc.
* gcc.dg/dg-test-1.c: New test.

From-SVN: r240391
gcc/testsuite/ChangeLog
gcc/testsuite/lib/gcc-dg.exp