This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug ada/24533] FAIL: a85013b: *** glibc detected *** free(): invalid pointer: 0x00062a00 ***
- From: Arnaud Charlet <charlet at adacore dot com>
- To: dave at hiauly1 dot hia dot nrc dot ca <gcc-bugzilla at gcc dot gnu dot org>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 17 Jan 2006 09:55:14 +0100
- Subject: Re: [Bug ada/24533] FAIL: a85013b: *** glibc detected *** free(): invalid pointer: 0x00062a00 ***
- References: <bug-24533-276@http.gcc.gnu.org/bugzilla/> <20060117034937.29485.qmail@sourceware.org>
> OK?
Assuming you add a proper "???" comment explaining why we use an alignment of
8 in this file (basically summarizing this PR), this is OK.
> 2006-01-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
>
> PR ada/24533
> * s-osinte-linux-hppa.ads: Reduce alignment of atomic_lock_t to 8.
>
> Index: s-osinte-linux-hppa.ads
> ===================================================================
> --- s-osinte-linux-hppa.ads (revision 109788)
> +++ 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 16;
> + for atomic_lock_t'Alignment use 8;
>
> type struct_pthread_fast_lock is record
> spinlock : atomic_lock_t;