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)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Apr 2010 06:58:43 +0000 (06:58 +0000)
commit17052c8f8f63239deccec6d06ff1d9a9ebfc4640
tree662fccb4b15738e06e8970052669564113a2ab07
parent97d668de78a216a4f1e938e66b9387671e3ca282
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158398 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/wide_boolean.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/wide_boolean_pkg.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/wide_boolean_pkg.ads [new file with mode: 0644]