OSDN Git Service

* gcc-interface/decl.c (make_type_from_size) <INTEGER_TYPE>: Just copy
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Apr 2010 06:58:43 +0000 (06:58 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:32:54 +0000 (14:32 +0900)
TYPE_NAME.
* gcc-interface/trans.c (smaller_packable_type_p): Rename into...
(smaller_form_type_p): ...this.  Change parameter and variable names.
(call_to_gnu): Use the nominal type of the parameter to create the
temporary if it's a smaller form of the actual type.
(addressable_p): Return false if the actual type is integral and its
size is greater than that of the expected type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158398 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ada/ChangeLog
gcc/testsuite/ChangeLog

index 38a5ae5..a12e7db 100644 (file)
@@ -1,3 +1,14 @@
+2010-04-16  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gcc-interface/decl.c (make_type_from_size) <INTEGER_TYPE>: Just copy
+       TYPE_NAME.
+       * gcc-interface/trans.c (smaller_packable_type_p): Rename into...
+       (smaller_form_type_p): ...this.  Change parameter and variable names.
+       (call_to_gnu): Use the nominal type of the parameter to create the
+       temporary if it's a smaller form of the actual type.
+       (addressable_p): Return false if the actual type is integral and its
+       size is greater than that of the expected type.
+
 2010-04-15  Eric Botcazou  <ebotcazou@adacore.com>
 
        * gcc-interface/cuintp.c (UI_To_gnu): Fix long line.
index b60f087..2420c2c 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-16  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gnat.dg/wide_boolean.adb: New test.
+       * gnat.dg/wide_boolean_pkg.ad[sb]: New helper.
+
 2010-04-15  Richard Guenther  <rguenther@suse.de>
 
        * gcc.dg/ipa/ipa-pta-1.c: New testcase.