[Bug c++/70603] gcc alignas issue with pointers to class

2016-04-09 Thread mhadji at gmail dot com
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...

[Bug c++/70603] gcc alignas issue with pointers to class

2016-04-09 Thread mhadji at gmail dot com
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

[Bug c++/70603] gcc alignas issue with pointers to class

2016-04-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70603 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/70603] gcc alignas issue with pointers to class

2016-04-08 Thread mhadji at gmail dot com
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.