Re: [PATCH] Fix PR64798

2015-01-27 Thread Jonathan Wakely
On 27/01/15 14:43 +0100, Richard Biener wrote: The new exceptional EH allocator failed to align exception objects properly (it ended up aligning to __alignof__((std::size_t))). The following fixes that by aligning to what __attribute__((aligned)) would align to (this is what _Unwind_Exception i

[PATCH] Fix PR64798

2015-01-27 Thread Richard Biener
The new exceptional EH allocator failed to align exception objects properly (it ended up aligning to __alignof__((std::size_t))). The following fixes that by aligning to what __attribute__((aligned)) would align to (this is what _Unwind_Exception is aligned to, a member of __cxa_refcounted_except