This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 ?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]