[Bug c++/53900] [regression] Too optimistic on a alignment assert

2015-02-19 Thread jacob.benoit.1 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53900 Benoit Jacob jacob.benoit.1 at gmail dot com changed: What|Removed |Added CC|

[Bug c++/53900] [regression] Too optimistic on a alignment assert

2013-01-07 Thread chtz at informatik dot uni-bremen.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53900 --- Comment #7 from Christoph Hertzberg chtz at informatik dot uni-bremen.de 2013-01-07 10:19:13 UTC --- (In reply to comment #6) __attribute__((aligned(16))) float array[4]; Explicitly says the array is aligned to 16 bytes which

[Bug c++/53900] [regression] Too optimistic on a alignment assert

2013-01-07 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53900 --- Comment #8 from Andrew Pinski pinskia at gcc dot gnu.org 2013-01-07 10:21:44 UTC --- (In reply to comment #7) (In reply to comment #6) __attribute__((aligned(16))) float array[4]; Explicitly says the array is aligned to 16

[Bug c++/53900] [regression] Too optimistic on a alignment assert

2013-01-06 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53900 --- Comment #6 from Andrew Pinski pinskia at gcc dot gnu.org 2013-01-07 04:25:38 UTC --- __attribute__((aligned(16))) float array[4]; Explicitly says the array is aligned to 16 bytes which means it is undefined by the C/C++ standard

[Bug c++/53900] [regression] Too optimistic on a alignment assert

2012-12-28 Thread xarthisius.kk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53900 Kacper Kowalik xarthisius.kk at gmail dot com changed: What|Removed |Added CC|

[Bug c++/53900] [regression] Too optimistic on a alignment assert

2012-07-10 Thread gael.guennebaud at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53900 --- Comment #4 from Gael Guennebaud gael.guennebaud at gmail dot com 2012-07-10 11:09:16 UTC --- Created attachment 27770 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27770 Another demonstration of the issue using std::vector Note that

[Bug c++/53900] [regression] Too optimistic on a alignment assert

2012-07-09 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53900 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/53900] [regression] Too optimistic on a alignment assert

2012-07-09 Thread gael.guennebaud at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53900 --- Comment #2 from Gael Guennebaud gael.guennebaud at gmail dot com 2012-07-09 16:12:07 UTC --- The problem is that it is not guaranteed to be effectively aligned, and it is nice to be able to detect when this happens to either abort with a

[Bug c++/53900] [regression] Too optimistic on a alignment assert

2012-07-09 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53900 --- Comment #3 from Richard Guenther rguenth at gcc dot gnu.org 2012-07-09 16:18:58 UTC --- Well, I suggest you instead do struct Foo { float array[4]; Foo() { std::cout array \n; // check the object is really aligned if