OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PR ada/24533
[pf3gnuchains/gcc-fork.git]
/
gcc
/
ada
/
s-osinte-linux-hppa.ads
diff --git
a/gcc/ada/s-osinte-linux-hppa.ads
b/gcc/ada/s-osinte-linux-hppa.ads
index
ec7efd2
..
40f0d07
100644
(file)
--- a/
gcc/ada/s-osinte-linux-hppa.ads
+++ b/
gcc/ada/s-osinte-linux-hppa.ads
@@
-508,7
+508,10
@@
private
lock : lock_array;
end record;
pragma Convention (C, atomic_lock_t);
lock : lock_array;
end record;
pragma Convention (C, atomic_lock_t);
- for atomic_lock_t'Alignment use 16;
+ -- ??? Alignment should be 16 but this is larger than BIGGEST_ALIGNMENT.
+ -- This causes an erroneous pointer value to sometimes be passed to free
+ -- during deallocation. See PR ada/24533 for more details.
+ for atomic_lock_t'Alignment use 8;
type struct_pthread_fast_lock is record
spinlock : atomic_lock_t;
type struct_pthread_fast_lock is record
spinlock : atomic_lock_t;