[Bug c++/64755] Error in optimization with std::array

2015-01-26 Thread nubcrack at yahoo dot es
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64755 --- Comment #5 from Alejandro Rivero Pérez --- Yes, my bad, with no-strict-aliasing the code compiles OK and generate the desire output. After read more info about strict-aliasing that definitely is the problem, thanks for the help, sorry for the

[Bug c++/64755] New: Error in optimization with std::array

2015-01-23 Thread nubcrack at yahoo dot es
++ Assignee: unassigned at gcc dot gnu.org Reporter: nubcrack at yahoo dot es Created attachment 34556 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34556&action=edit They are 3 files bug.cpp (contain the code to compile), bug.O1 and bug.O2 (contain the assembly code gener