[testsuite] Enable column location checking for 'dg-optimized', 'dg-missed'
authorThomas Schwinge <thomas@codesourcery.com>
Fri, 6 Nov 2020 08:18:06 +0000 (09:18 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Tue, 24 Nov 2020 09:28:04 +0000 (10:28 +0100)
commit24b553d0f73ffea2551a77c67859ad6fe44110a6
treefde289b8d445e0ad3582fae460e59b6b01a9bd40
parent2aaf44a90283156ec0e70ad4d9030f3ba5054c6f
[testsuite] Enable column location checking for 'dg-optimized', 'dg-missed'

'process-message' would like the 'msgprefix' argument without trailing space.

This is a small bug-fix for commit ed2d9d3720adef3a260b8a55e17e744352a901fc
"dumpfile.c: use prefixes other than 'note: ' for
MSG_{OPTIMIZED_LOCATIONS|MISSED_OPTIMIZATION}", which added 'dg-optimized',
'dg-missed'.

gcc/testsuite/
* lib/gcc-dg.exp (dg-optimized, dg-missed): Fix 'process-message'
call.
* gcc.dg/vect/nodump-vect-opt-info-1.c: Demonstrate.
* gcc.dg/vect/nodump-vect-opt-info-2.c: Likewise.
gcc/testsuite/gcc.dg/vect/nodump-vect-opt-info-1.c
gcc/testsuite/gcc.dg/vect/nodump-vect-opt-info-2.c
gcc/testsuite/lib/gcc-dg.exp