]> git.ipfire.org Git - thirdparty/gcc.git/commit
[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Fri, 14 Oct 2011 14:56:46 +0000 (16:56 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 14 Oct 2011 14:56:46 +0000 (16:56 +0200)
commitf2d10a021be8e8f57bcf3708bec8db12eb2b8e4d
tree50ea0b1564170f795da35865e7878ba5ae78d38f
parent008d5fccd8a264d12330914f5b14e74a51c9ef03
[multiple changes]

2011-10-14  Ed Schonberg  <schonberg@adacore.com>

* sem_util.adb: Return objects are aliased if their type is
immutably limited as per AI05-0053.

2011-10-14  Gary Dismukes  <dismukes@adacore.com>

* exp_ch4.adb (Expand_N_Op_And): Remove Short_Circuit_And_Or
expansion code (moved to sem_res) (Expand_N_Op_Or): Remove
Short_Circuit_And_Or expansion code (moved to sem_res).
* sem_res.adb (Resolve_Logical_Op): Add code to rewrite Boolean
"and" and "or" operators as short-circuit "and then" and "or
else", when pragma Short_Circuit_And_Or is active.

From-SVN: r179985
gcc/ada/ChangeLog
gcc/ada/exp_ch4.adb
gcc/ada/sem_res.adb
gcc/ada/sem_util.adb