]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Remove couple of recently added dead tests
authorpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Nov 2018 11:42:26 +0000 (11:42 +0000)
committerpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Nov 2018 11:42:26 +0000 (11:42 +0000)
commit6da1be2fe0eec90d3388f6e1be01b17d825ba0c5
treea8585897b86b7c000a8bc4d68a08fb2c5b7fa2a0
parentf9876ea21fc6b7c874a9c3bc6d791c6558c9fa65
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266133 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/exp_aggr.adb