utils2.c (build_call_alloc_dealloc): Move the code retrieving an allocator return...
authorOlivier Hainque <hainque@adacore.com>
Fri, 16 Nov 2007 08:52:51 +0000 (08:52 +0000)
committerOlivier Hainque <hainque@gcc.gnu.org>
Fri, 16 Nov 2007 08:52:51 +0000 (08:52 +0000)
commitb2c3bcf47b9131455a7fccfaa699269ae108d76b
tree40b460c86146bcdff53b9a8c9239404f72196fbe
parent823e5f7f9fb52d8e6a9bb2c97164cc593ae18e11
utils2.c (build_call_alloc_dealloc): Move the code retrieving an allocator return value from a super-aligned address...

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.

From-SVN: r130221
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]