[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Mon, 20 Jan 2014 15:19:15 +0000 (16:19 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 20 Jan 2014 15:19:15 +0000 (16:19 +0100)
commit0969e96dcb682892a69c2ef26135dbfd79da5d1b
treecc224d258080086338caef7baee697c5b78172ce
parent36eef04a24a933d0198f415be0d4b77b88e782b9
[multiple changes]

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

* sem_util.adb (Check_Function_Writable_Actuals): 1) Do not
examine code that does not come from source. The check does not
apply to code generated for constraint checks, and such code may
generate spurious error messages when compiled with expansion
disabled (as in a generic unit) because side effects may not
have been removed.
2) Make error messages more explicit: indicate the component
of the construct whose value is indeterminate because of a
call to a function with in-out parameter in another component,
when there is no mandated order of execution between the two
components (actuals, aggregate components, alternatives).

2014-01-20  Robert Dewar  <dewar@adacore.com>

* gnat_rm.texi: Minor cleanup.

From-SVN: r206820
gcc/ada/ChangeLog
gcc/ada/gnat_rm.texi
gcc/ada/sem_util.adb