]> gcc.gnu.org Git - gcc.git/commit - gcc/ada/gcc-interface/trans.cc
[Ada] Fix problematic line debug info attached to call to finalizer
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 22 Aug 2022 21:23:52 +0000 (23:23 +0200)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 6 Sep 2022 07:14:23 +0000 (09:14 +0200)
commit0b66f882f7c2d3fb23faf4d7046ed391e8da5bd5
tree4a7dfdaadf5b73b85e5c9df3296b729cc02929d6
parentef12e74ce7b1b00cce13d27e1273656926a4a25d
[Ada] Fix problematic line debug info attached to call to finalizer

The End_Label is not defined for body nodes so a small tweak is needed.

gcc/ada/

* gcc-interface/trans.cc (At_End_Proc_to_gnu): Use the End_Label of
the child Handled_Statement_Sequence for body nodes.
(set_end_locus_from_node): Minor tweaks.
gcc/ada/gcc-interface/trans.cc
This page took 0.053549 seconds and 5 git commands to generate.