https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102837
ibuclaw at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ibuclaw at gcc dot gnu.org
--- Comment #4 from ibuclaw at gcc dot gnu.org ---
(In reply to [email protected] from comment #3)
> Actually, it's
>
> commit efa5449a094d3887e124d400ff0410af2c745b2d
> Author: Iain Buclaw <[email protected]>
> Date: Sat Sep 25 19:50:52 2021 +0200
>
> libphobos: Give _Unwind_Exception an alignment that best resembles
> __attribute__((aligned))
>
> in particular
>
> +else version (X86) private enum __aligned__ = 16;
>
> I don't yet see where/how struct _Unwind_Execption is allocated to
> guarantee that alignment. Depending on the answer PR libstdc++/77691
> (32-bit Solaris/x86 malloc only returns 8-byte aligned memory) or the
> fact that the stack is only 4-byte aligned following the i386 psABI) may
> be relevant.
i386 psABI would likely be the most relevant detail here. I'll see if exposing
the value of __attribute__((aligned)) to D CTFE is possible.