[PATCH] Emit DW_AT_inline for C++17 inline variables (take 2)

Jason Merrill jason@redhat.com
Tue Nov 1 17:20:00 GMT 2016


On Tue, Nov 1, 2016 at 12:10 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> +         && !get_AT (var_die, DW_AT_inline)
> +         && (origin_die == NULL || get_AT (origin_die, DW_AT_inline) == NULL)

Can we drop this repetition (here and for DW_AT_const_expr)?  get_AT
should look through DW_AT_abstract_origin, and we should have added
that earlier in gen_variable_die.

OK with that change.

Jason



More information about the Gcc-patches mailing list