aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2018-07-16 14:11:25 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2018-07-16 14:11:25 +0000
commitfeb7f36cad506b667a778b78d034491cb909c8c2 (patch)
treefa77ff3a79db958884c625643647d578d95ad160 /gcc/fortran
parent9cd7bc5e000a2be07995aea4ff762f89c0e0661e (diff)
downloadgcc-feb7f36cad506b667a778b78d034491cb909c8c2.zip
gcc-feb7f36cad506b667a778b78d034491cb909c8c2.tar.gz
gcc-feb7f36cad506b667a778b78d034491cb909c8c2.tar.bz2
[Ada] Deconstruct always-false calls to Withed_Body in Walk_Library_Items
We previously removed the calls to Set_Withed_Body; this commit deconstructs calls to Withed_Body, which always returned False. The Set_Withed_Body/Withed_Body were helping the Walk_Library_Items routine traverse the AST of several compilation units such that declarations are visited before references. However, this never worked as it should and there is no point to keep the code more complicated than necessary. No test provided, because thie removed code was ineffective (and only used in the non-compiler backends, i.e. CodePeer and GNATprove). 2018-07-16 Piotr Trojanek <trojanek@adacore.com> gcc/ada/ * sem.adb (Walk_Library_Items): Deconstruct dead code. From-SVN: r262718
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions