https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55252

--- Comment #16 from Tom Tromey <tromey at gcc dot gnu.org> ---
I've tripped across this enough that I've actually filed dups twice now.

I think it would be best to change the ordering here.
That is, the initial error ought to generally be the
location of the outermost expansion.  Then, the remaining
notes ought to delineate the macro expansions.

While it is true that this will yield a sub-optimal result in some
cases, I think that it will have better results in the preponderance
of cases.  That is, there's no way to be perfect here but gcc could be more
useful.

Reply via email to