This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/37042] Strict-aliasing warnings are printed for _mm_load_si128, even though __m128i is __attribute__((__may_alias__)).
- From: "lennox at cs dot columbia dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Aug 2008 14:11:10 -0000
- Subject: [Bug middle-end/37042] Strict-aliasing warnings are printed for _mm_load_si128, even though __m128i is __attribute__((__may_alias__)).
- References: <bug-37042-4084@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from lennox at cs dot columbia dot edu 2008-08-11 14:11 -------
The fact that the function returns the vector is not an essential part of the
test; the return value of the load function just needs not to be optimized out
as unused. So changing the test for broader compatibility is fine as far as
I'm concerned.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37042