[Bug c++/43486] Preserve variable-use locations

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 21 23:14:00 GMT 2015


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

--- Comment #10 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Matthew Woehlke from comment #8)
> Can this *please* get fixed? This really hurts the ability to use
> -Wzero-as-null-ptr in particular. See
> https://bugreports.qt.io/browse/QTBUG-45291 for an example of the pain this
> causes.

Fixing this is hard. There are several ideas floating around but all of them
have their disadvantages
(https://gcc.gnu.org/ml/gcc-patches/2012-09/msg01373.html and
https://gcc.gnu.org/ml/gcc-patches/2012-11/msg00164.html). Unless some new
brilliant contributor appears and starts passionately working on this, this is
not going to be fixed in the near (or medium) term. If you know such a person,
please let us know.


More information about the Gcc-bugs mailing list