On 02/27/2018 03:15 PM, Alan Modra wrote:
> GNU ld error messages have changed to comply with the GNU coding
> standards. The two fixes in this patch look to be the only required
> changes in the GCC testsuite. I've written the prune_gcc_output patch
> the way I have to try to capture the fact that the lower case "in
> function" is correct for a message preceded by "ld: object(sec+off): "
> but "In function" is correct when the phrase starts a sentence.
>
> Bootstrapped and regression tested x86_64-linux. OK to apply all
> branches?
>
> * lib/prune.exp (prune_gcc_output): Match lower case "in function"
> GNU ld message.
> * g++.dg/other/anon5.C: Match lower case "bad value" GNU ld message.
OK.
jeff