OSDN Git Service

* gcc-interface/trans.c (Loop_Statement_to_gnu): Use gnat_type_for_size
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Oct 2012 08:23:01 +0000 (08:23 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Oct 2012 08:23:01 +0000 (08:23 +0000)
commit20e19a67a90fbe4fe10b0e50f1c27cee7acd1016
tree0c24f1c33e6f086611ff7c3a67b1e9bfecda45cc
parent71e8f397be5ab47cf34158641937d2ae6b262d5a
* gcc-interface/trans.c (Loop_Statement_to_gnu): Use gnat_type_for_size
directly to obtain an unsigned version of the base type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@192670 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/modular4.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/modular4_pkg.ads [new file with mode: 0644]