[Bug c++/61282] vectorization causes segfaults in a compiled program during access to an int-casted char[] after bool in a struct

2014-05-22 Thread v_pimenov at wargaming dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61282 --- Comment #7 from V. Pimenov --- Thank you.

[Bug c++/61282] vectorization causes segfaults in a compiled program during access to an int-casted char[] after bool in a struct

2014-05-22 Thread v_pimenov at wargaming dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61282 --- Comment #5 from V. Pimenov --- Could you please explain why does my program have an undefined behaviour in it?

[Bug c++/61282] vectorization causes segfaults in a compiled program during access to an int-casted char[] after bool in a struct

2014-05-22 Thread v_pimenov at wargaming dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61282 --- Comment #3 from V. Pimenov --- Because gcc should not use SIMD instructions for unaligned arrays.

[Bug c++/61282] vectorization causes segfaults in a compiled program during access to an int-casted char[] after bool in a struct

2014-05-21 Thread v_pimenov at wargaming dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61282 --- Comment #1 from V. Pimenov --- $ gcc --version gcc (GCC) 4.7.2 20121015 (Red Hat 4.7.2-5) Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERC

[Bug c++/61282] New: vectorisation causes segfaults in a compiled program during access to an int-casted char[] after bool in a struct

2014-05-21 Thread v_pimenov at wargaming dot net
: 4.7.2 Status: UNCONFIRMED Severity: major Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: v_pimenov at wargaming dot net Created attachment 32842 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32