diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2020-09-16 13:06:34 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2020-09-16 17:42:51 +0200 |
commit | aab6194d0898f5c592708fe2d44a14046b4d9097 (patch) | |
tree | e8cbe88c94b858475d9c3d28b8062b08fdf68afd /gcc/function.c | |
parent | 7d1be939e0fbc5ce63ba17db3d20ccc39ac17527 (diff) | |
download | gcc-aab6194d0898f5c592708fe2d44a14046b4d9097.zip gcc-aab6194d0898f5c592708fe2d44a14046b4d9097.tar.gz gcc-aab6194d0898f5c592708fe2d44a14046b4d9097.tar.bz2 |
Fix pessimization in EH cleanup pass
This restores the post-order traversal done by cleanup_all_empty_eh in
order to eliminate empty landing pads and also contains a small tweak
to the line debug info to avoid a problematic inheritance for coverage
measurement.
gcc/ChangeLog:
* tree-eh.c (lower_try_finally_dup_block): Backward propagate slocs
to stack restore builtin calls.
(cleanup_all_empty_eh): Do again a post-order traversal of the EH
region tree.
gcc/testsuite/ChangeLog:
* gnat.dg/concat4.adb: New test.
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions