[Bug c++/58772] __attribute__((aligned(16))) and nested classes cause -ftree-vectorize to generate segfaulting code

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 21 10:07:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58772

--- Comment #7 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to pinskia@gmail.com from comment #6)
> Less portable as that only works on x86 while posix_memalign works on all
> posix targets.

Or more portable as it also works on non-POSIX platforms such as (non-ARM)
Windows. (Then aligning manually.) See PR16570. Thus, one can choose whether
one wants to be more compatible with non-POSIX x86-64/i386 systems or with
non-x86-64/i386 POSIX systems.



More information about the Gcc-bugs mailing list