This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/81333] Bad alignment of global variables on Alpha
- From: "mikulas at artax dot karlin.mff.cuni.cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 06 Jul 2017 00:23:53 +0000
- Subject: [Bug target/81333] Bad alignment of global variables on Alpha
- Auto-submitted: auto-generated
- References: <bug-81333-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81333
--- Comment #2 from mikulas at artax dot karlin.mff.cuni.cz ---
Created attachment 41691
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41691&action=edit
another testcase
Another testcase - note that even if we have two static variables in two
separate functions, the variables end up being located in the same 8-byte area
and when they are accessed concurrently, data corruption happens.