On 11/23/2015 07:26 PM, David Malcolm wrote:
In theory we could attempt to try to handle this kind of thing by looking at the macro expansions, and to print something like: 13 TEST_EQ (fmin); ^~~~ 6 if ((long)FUNC##l(xl,xl) != (long)xl) \ ~~~~~~~~ or whatnot, but that strikes me as error-prone at this stage.
Could I ask you to spend some time looking at what would be involved at fixing it this way? In the end (assuming it doesn't prove to be a simple fix) we will probably go with your original patch for gcc-6, but it really goes against the grain to paper over a bug like this.
Bernd