On 11/10/2017 04:45 PM, David Malcolm wrote:
This is needed for the locations of string literals to be usable,
otherwise the ADDR_EXPR has UNKNOWN_LOCATION, despite wrapping
a node with a correct location_t.

gcc/cp/ChangeLog:
        * typeck.c (build_address): Use location of operand when building
        address expression.

OK; this one seems obvious.

Jason

Reply via email to