decl.c (warn_on_field_placement): Use specific wording for discriminants.
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 12 Jun 2018 10:01:36 +0000 (10:01 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 12 Jun 2018 10:01:36 +0000 (10:01 +0000)
commit81034751aa6b2b7d7fd14724478d3ac7c4356c08
tree06320c25a53b2c948340302cf765c5296fab38b7
parentcd8ad45920aaf33a660b85878c572298faba06bf
decl.c (warn_on_field_placement): Use specific wording for discriminants.

* gcc-interface/decl.c (warn_on_field_placement): Use specific wording
for discriminants.
(warn_on_list_placement): New static function.
(components_to_record): Use it to warn on multiple fields in list.

From-SVN: r261480
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c