]> gcc.gnu.org Git - gcc.git/commit
[Ada] Remove couple of recently added dead tests
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 14 Nov 2018 11:42:26 +0000 (11:42 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Wed, 14 Nov 2018 11:42:26 +0000 (11:42 +0000)
commit64a87aa5dbb2a62a042a2449e30c0fdddd8009e8
treea8585897b86b7c000a8bc4d68a08fb2c5b7fa2a0
parenta2c54c951479b2eb5315f859a7035f48a3256c50
[Ada] Remove couple of recently added dead tests

N_Quantified_Expression and N_Iterated_Component_Association are
unrelated nodes that cannot appear in the same context: the former can
appear wherever an expression node is acceptable whereas the latter can
appear only as an element of a component association list.  So a test
combining both most likely contains a dead arm and this change removes a
couple of them.

No functional changes.

2018-11-14  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

* exp_aggr.adb (Check_Static_Components): Remove dead test.
(Flatten): Likewise.  Move comment around.

From-SVN: r266133
gcc/ada/ChangeLog
gcc/ada/exp_aggr.adb
This page took 0.055591 seconds and 5 git commands to generate.