This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/24533] FAIL: a85013b: *** glibc detected *** free(): invalid pointer: 0x00062a00 ***
- From: "charlet at adacore dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jan 2006 08:56:28 -0000
- Subject: [Bug ada/24533] FAIL: a85013b: *** glibc detected *** free(): invalid pointer: 0x00062a00 ***
- References: <bug-24533-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #16 from charlet at adacore dot com 2006-01-17 08:56 -------
Subject: Re: FAIL: a85013b: *** glibc detected *** free(): invalid pointer:
0x00062a00 ***
> 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;
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24533