: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: mhadji at gmail dot com
Target Milestone: ---
I am using gcc 4.9.2 and I am trying to properly align statically initialized
arrays for use with AVX. Here is the gist of the code that segfaults due to
alignment issues
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70603
--- Comment #1 from Marios Hadjieleftheriou ---
I just tried using 5.2.0 and I get the same issue.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36159
--- Comment #17 from Marios Hadjieleftheriou ---
(In reply to Martin Sebor from comment #12)
> Confirmed. As noted in bug 67911, the solution proposed for the next
> version of C++ is the following:
> http://www.open-std.org/jtc1/sc22/wg21/docs/
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70603
--- Comment #3 from Marios Hadjieleftheriou ---
I am trying to use posix_memalign and a double pointer to double, and that is
also failing. Is this an overalignment issue as well?
#include
#include
struct B {
B() {
x = new double
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70603
--- Comment #4 from Marios Hadjieleftheriou ---
But of course. I am checking the alignment of the wrong things, in my
example...