On 11/23/2015 06:52 PM, David Malcolm wrote:
This patch fixes PR c/68473 by bulletproofing the new
diagnostic_show_locus implementation against ranges that finish before
they start (which can happen when using the C preprocessor), falling
back to simply printing a caret.

Hmm, wouldn't it be better to avoid such a situation? Can you describe a bit more how exactly the macro expansion caused such a situation?


Bernd

Reply via email to