This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Bug ada/24533] 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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]