This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/64755] Error in optimization with std::array
- From: "mednafen at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 25 Jan 2015 21:36:17 +0000
- Subject: [Bug c++/64755] Error in optimization with std::array
- Auto-submitted: auto-generated
- References: <bug-64755-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64755
--- Comment #3 from mednafen at gmail dot com ---
It looks like your code violates strict aliasing rules. Does the code in
question work as you intend it to if you compile with -fno-strict-aliasing ?