[Bug ada/24533] FAIL: a85013b: *** glibc detected *** free(): invalid pointer: 0x00062a00 ***
Arnaud Charlet
charlet@adacore.com
Tue Jan 17 08:56:00 GMT 2006
> 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;
More information about the Gcc-bugs
mailing list