https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61162
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu.org --- Comment #8 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- (In reply to Tom Tromey from comment #7) > (In reply to Marek Polacek from comment #6) > > > I'd prefer the RHS location here; it's the RHS that's being converted. > > I was hoping to automate some conversion from C to C++ using > the error locations. > So from this perspective, something relatively consistent would be nice. > It could be the RHS or it could be the "=", for my purposes they > are equally good. I tend to think of the "=" as being the "reason > for the conversion", but I wouldn't want to make any claims for it > beyond that. If you point to '=', then the macro expansion note will not appear in your other example (PR61165).