[Ada] Adjust the default MALLOC_OBSERVABLE_ALIGNMENT to 2 * POINTER_SIZE
authorOlivier Hainque <hainque@adacore.com>
Mon, 3 Dec 2018 15:47:52 +0000 (15:47 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Mon, 3 Dec 2018 15:47:52 +0000 (15:47 +0000)
commite663d4d985b60ba445f140df2481af573073cbc7
treefa060c1801f1c495c7baacd63667d75c2c31ba0d
parent1ab144aec03080a93a59a180f5daae50143b006b
[Ada] Adjust the default MALLOC_OBSERVABLE_ALIGNMENT to 2 * POINTER_SIZE

Instead of 2 * LONG_TYPE_SIZE. POINTER_SIZE is believed to be the
correct base on more configurations than LONG_TYPE_SIZE and this
adjustment prevents the need for local patches to compensate on
configurations where the latter is inappropriate, for example
x86_64-mingw.

2018-12-03  Olivier Hainque  <hainque@adacore.com>

gcc/ada/

* gcc-interface/targtyps.c (MALLOC_OBSERVABLE_ALIGNMENT): Set to
2 * POINTER_SIZE.

From-SVN: r266747
gcc/ada/ChangeLog
gcc/ada/gcc-interface/targtyps.c