OSDN Git Service

* exp_pakd.adb (Create_Packed_Array_Type): Always use a modular type
[pf3gnuchains/gcc-fork.git] / gcc / ada / ChangeLog
index b0d871b..c740fa8 100644 (file)
@@ -1,3 +1,32 @@
+2010-04-07  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * exp_pakd.adb (Create_Packed_Array_Type): Always use a modular type
+       if the size is small enough.  Propagate the alignment if there is an
+       alignment clause on the original array type.
+       * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Subtype>
+       Deal with under-aligned packed array types.  Copy the size onto the
+       justified modular type and don't lay it out again.  Likewise for the
+       padding type built for other under-aligned subtypes.
+       * gcc-interface/utils.c (finish_record_type): Do not set a default mode
+       on the type.
+
+2010-04-07  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Procedure>: Set default
+       alignment on the RETURN type built for the Copy-In Copy-Out mechanism.
+
+2010-04-07  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gcc-interface/trans.c (call_to_gnu): In the return-by-target-ptr case
+       do not set the result type if there is a specified target and do not
+       convert the result in any cases.
+       (protect_multiple_eval): Make direct SAVE_EXPR for CALL_EXPR.
+       (maybe_stabilize_reference) <COMPOUND_EXPR>: Merge with CALL_EXPR.
+
+2010-03-10  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gcc-interface/Makefile.in (SPARC/Solaris): Use sparcv8plus.
+
 2010-02-27  Eric Botcazou  <ebotcazou@adacore.com>
 
        PR ada/42253