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 middle-end/37042] Strict-aliasing warnings are printed for _mm_load_si128, even though __m128i is __attribute__((__may_alias__)).



------- 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


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