[Bug target/112615] gcc incorrectly assumes char *x[2]={"str1", "str2"} has 16-byte minimum alignment and generates SSE instructions (e.g. movaps) when accessing this data

gandalf at winds dot org gcc-bugzilla@gcc.gnu.org
Sun Nov 19 02:12:27 GMT 2023


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112615

gandalf at winds dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |FIXED

--- Comment #3 from gandalf at winds dot org ---
Thank you for the insight. Sounds like a bug in Oracle's compiler then.

I have just finished adding the aligned(8) attribute to glibc's __tzname on my
system and recompiled glibc. I verified this fixed the problem (no segfault).

Thanks much.


More information about the Gcc-bugs mailing list