decl.c (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): Define to 0 if undefined.
authorOlivier Hainque <hainque@adacore.com>
Fri, 13 Jun 2008 22:07:28 +0000 (22:07 +0000)
committerOlivier Hainque <hainque@gcc.gnu.org>
Fri, 13 Jun 2008 22:07:28 +0000 (22:07 +0000)
commitd8612af2ce55574685f370c438431d3c0881553f
tree791e14f9e7ddcb75fa91e32178b0ce5a940da33a
parent7f7e76a4ee4bf15404cdd73840c30566a39460bb
decl.c (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): Define to 0 if undefined.

2008-06-13  Olivier Hainque  <hainque@adacore.com>

ada/
* decl.c (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): Define to 0
if undefined.
(gnat_to_gnu_entity) <case E_Function/Procedure>: Request stack
realignment with force_align_arg_pointer attribute on foreign
convention subprograms if FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN.

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

From-SVN: r136768
gcc/ada/ChangeLog
gcc/ada/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/task_stack_align.adb [new file with mode: 0644]