On 06/03/2016 05:24 AM, Marcin Baczyński wrote:
The change itself seems reasonable. You might contact David Malcolm ([email protected]) directly to see if he's got any ideas on how to convince the multi-line test to do what you want. Let's hold off installing the fix until we've got the testsuite issue sorted out.Hi, the patch below fixes PR/42014. Although the fix itself seems easy enough, I have a problem with the test. Is there a way to match the output before the "warning:" line? dg-{begin,end}-multiline-output doesn't do the job, or at least I don't know how to convince it.Bootstrapped on x86_64 linux. Thanks, Marcin gcc/ChangeLog: PR/42014 * diagnostic.c (diagnostic_report_current_module): Print column numbers for all mentioned files if context->show_column. gcc/testsuite/ChangeLog: PR/42014 * gcc.dg/inclusion-trace-column.i: New test.
Thanks, jeff
