[Ada] Fix alignment of mutex_t and cond_t type on 32-bit SPARC/Solaris
commitb64aa5a17bc830697697e6829545e079da543f93
authorpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Jul 2018 09:56:10 +0000 (31 09:56 +0000)
committerpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Jul 2018 09:56:10 +0000 (31 09:56 +0000)
tree2dec18cce2072a237168c7f6b152e200dc33f852
parent1ace4a8b0665c6b21ee3852d8c939c1edee5f90d
[Ada] Fix alignment of mutex_t and cond_t type on 32-bit SPARC/Solaris

The alignment of the couple of types from System.OS_Interface was wrongly
set to 4 (32-bit) instead of 8 (64-bit) in 32-bit mode.

2018-07-31  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

*  libgnarl/s-osinte__solaris.ads (upad64_t): New private type.
(mutex_t): Use it for 'lock' and 'data' components.
(cond_t): Likewise for 'data' and use single 'flags' component.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@263099 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/libgnarl/s-osinte__solaris.ads