This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r162906 - in /trunk/gcc/ada: ChangeLog exp_ch13...
- From: charlet at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 05 Aug 2010 09:18:41 -0000
- Subject: r162906 - in /trunk/gcc/ada: ChangeLog exp_ch13...
Author: charlet
Date: Thu Aug 5 09:18:41 2010
New Revision: 162906
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162906
Log:
2010-08-05 Thomas Quinot <quinot@adacore.com>
* exp_ch4.adb: Minor reformatting
* gnat1drv.adb: Minor reformatting.
Minor code reorganization (use Nkind_In).
2010-08-05 Ed Schonberg <schonberg@adacore.com>
* exp_util.ads, exp_util.adb (Needs_Constant_Address): New predicate to
determine whether the expression in an address clause for an
initialized object must be constant. Code moved from freeze.adb.
(Remove_Side_Effects): When the temporary is initialized with a
reference, indicate that the temporary is a constant as done in all
other cases.
* freeze.adb (Check_Address_Clause): use Needs_Constant_Address.
* exp_ch13.adb (Expand_N_Attribute_Definition_Clause, case 'Address):
If object does not need a constant address, remove side effects from
address expression, so it is elaborated at the point of the address
clause and not at the freeze point of the object, so that elaboration
order is respected.
2010-08-05 Vincent Celier <celier@adacore.com>
* prj.adb (Is_Compilable): Return False for header files of non Ada
languages.
2010-08-05 Emmanuel Briot <briot@adacore.com>
* prj-nmsc.adb: The Missing_Source_Files flag also considers a missing
exec directory as a warning rather than an error.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/exp_ch13.adb
trunk/gcc/ada/exp_ch4.adb
trunk/gcc/ada/exp_util.adb
trunk/gcc/ada/exp_util.ads
trunk/gcc/ada/freeze.adb
trunk/gcc/ada/gnat1drv.adb
trunk/gcc/ada/prj-nmsc.adb
trunk/gcc/ada/prj.adb