https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60615
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW Assignee|mpolacek at gcc dot gnu.org |unassigned at gcc dot gnu.org --- Comment #7 from Marek Polacek <mpolacek at gcc dot gnu.org> --- I think I did, but it was rejected. We'll have to add some USE_CONSTANT / USE_DECL wrapper expressions that carry location. Not trivial. Hopefully to be fixed in GCC 8.