[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Mon, 20 Jan 2014 15:55:52 +0000 (16:55 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 20 Jan 2014 15:55:52 +0000 (16:55 +0100)
commita61524283eb4439d870431cb5befc613b72a7828
tree565d37ca1822b76afb520e484f16476161d93a49
parente19fd0bde5ebf61308817cd9bf05e90a7d5a0aee
[multiple changes]

2014-01-20  Ed Schonberg  <schonberg@adacore.com>

* sem_attr.adb (Analyze_Attribute, case 'Constrained): In an
instance the attribute is legal, and its value is determined
statically if the type has no discriminants. This choice is
more useful than rechecking the legality rule in the instance,
is consistent with older usage, and is also consistent with all
existing tests.

2014-01-20  Arnaud Charlet  <charlet@adacore.com>

* sem_cat.adb (Validate_Static_Object_Name): Change error into
warning in Relaxed_Semantic_Mode.

From-SVN: r206838
gcc/ada/ChangeLog
gcc/ada/sem_attr.adb
gcc/ada/sem_cat.adb