This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Correct alignment of atomic_lock_t in s-osinte-linux-hppa.ads
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 29 Dec 2005 14:48:14 -0500 (EST)
- Subject: [committed] Correct alignment of atomic_lock_t in s-osinte-linux-hppa.ads
This corrects a bits versus bytes error noticed by Arnaud in my original
patch.
Tested on hppa-unknown-linux-gnu. Committed to 4.0, 4.1 and head.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
2005-12-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* s-osinte-linux-hppa.ads: Correct alignment of atomic_lock_t.
Index: s-osinte-linux-hppa.ads
===================================================================
--- s-osinte-linux-hppa.ads (revision 109115)
+++ s-osinte-linux-hppa.ads (working copy)
@@ -508,7 +508,7 @@
lock : lock_array;
end record;
pragma Convention (C, atomic_lock_t);
- for atomic_lock_t'Alignment use 8 * 16;
+ for atomic_lock_t'Alignment use 16;
type struct_pthread_fast_lock is record
spinlock : atomic_lock_t;