> The recent patch to tree-nested.c: > 2015-11-26 Pierre-Marie de Rodat <dero...@adacore.com> > > PR debug/53927 > * tree-nested.c (finalize_nesting_tree_1): Append a field to > hold the frame base address. > * dwarf2out.c (gen_subprogram_die): Generate for > DW_AT_static_link a location description that computes the value > of this field. > > broke PTX, as it tried to use argp for the CFA.
That's a misleading description, the patch makes use of BUILT_IN_DWARF_CFA, which is the canonical way of retrieving the CFA. I'm not sure how it can break a port whose handling of the CFA was not already (partially) broken. IOW did __builtin_dwarf_cfa () really work for PTX before your patch? -- Eric Botcazou