2007-11-16 Olivier Hainque <hainque@adacore.com>
commite64eebabca289b01f1700034bf8f5b2a9fdf76cf
authorhainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Nov 2007 08:52:51 +0000 (16 08:52 +0000)
committerhainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Nov 2007 08:52:51 +0000 (16 08:52 +0000)
tree40b460c86146bcdff53b9a8c9239404f72196fbe
parent922083746ccf748c81bde84987e8e6f686919421
2007-11-16  Olivier Hainque  <hainque@adacore.com>

        ada/
        * utils2.c (build_call_alloc_dealloc) <if gnu_obj>: Move the code
        retrieving an allocator return value from a super-aligned address from
        here to ...
        * trans.c (gnat_to_gnu) <case N_Free_Statement>: ... here, and don't
        expect a super-aligned address for a fat or thin pointer.

        testsuite/
        * gnat.dg/release_unc_maxalign.adb: New test.

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