[Bug c++/56392] Crash while filling an odd-pitch 16bpp image with auto-vectorization enabled on x86_64 Linux platform

s.jodogne at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Feb 19 11:57:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56392

--- Comment #2 from s.jodogne at gmail dot com 2013-02-19 11:56:45 UTC ---
(In reply to comment #1)
> You are dereferencing a pointer to uint16_t that is not sufficiently aligned
> for that type.  The C standard prohibits this, resulting in undefined behavior.

Thanks for your answer, but should not a warning be generated by gcc in such a
circumstance?



More information about the Gcc-bugs mailing list