This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/68484] _mm_storel_epi64((__m128i *)x, m); does nothing if "x" is a "volatile" ptr
- From: "glisse at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 22 Nov 2015 16:42:35 +0000
- Subject: [Bug c++/68484] _mm_storel_epi64((__m128i *)x, m); does nothing if "x" is a "volatile" ptr
- Auto-submitted: auto-generated
- References: <bug-68484-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68484
--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> ---
-fno-strict-aliasing
The intrinsic is implemented inline as:
*(long long *)__P = ...
which exposes the strict aliasing. I don't know how much we want to promise for
those functions. It would be possible to use a may_alias typedef for long long,
but I'll let someone else decide if we want to.