aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-pass.h
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2019-07-08 08:14:46 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2019-07-08 08:14:46 +0000
commit4fe5bbcf30a491a1722fa1752bc0ea9c32dcb2e3 (patch)
tree232380f00d2c3e2a498844de20e5b0c45076888d /gcc/tree-pass.h
parentb723426575b8a948947cd8b2403c4949edc92dfc (diff)
downloadgcc-4fe5bbcf30a491a1722fa1752bc0ea9c32dcb2e3.zip
gcc-4fe5bbcf30a491a1722fa1752bc0ea9c32dcb2e3.tar.gz
gcc-4fe5bbcf30a491a1722fa1752bc0ea9c32dcb2e3.tar.bz2
[Ada] Remove dead code from Enclosing_Package_Or_Subprogram routine
Calls to Scope always return unique entities, i.e. package/subprogram and not their bodies, so there is no need to expect them. Cleanup only; semantics unaffected. (This routine was only used in CCG and GNATprove backends anyway.) 2019-07-08 Piotr Trojanek <trojanek@adacore.com> gcc/ada/ * sem_util.adb (Enclosing_Package_Or_Subprogram): Do not expect package and subprogram bodies. From-SVN: r273222
Diffstat (limited to 'gcc/tree-pass.h')
0 files changed, 0 insertions, 0 deletions