diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-31 08:43:42 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-31 08:43:42 +0000 |
commit | f84c0da6b775eba9eb8d79fadce24169cf11f1f3 (patch) | |
tree | 61b9423513f189f83c625631b581033c832eb05c /gcc/ada/s-taprop-linux.adb | |
parent | 83a0ab2a2fd2930fe97279844d6999d51a8b0d94 (diff) | |
download | gcc-f84c0da6b775eba9eb8d79fadce24169cf11f1f3.tar.gz |
2011-08-31 Jose Ruiz <ruiz@adacore.com>
* s-taprop-linux.adb (Set_Task_Affinity): Avoid the use of anonymous
access types.
* affinity.c (__gnat_set_affinity_mask): Declare index variable.
2011-08-31 Yannick Moy <moy@adacore.com>
* sem_ch8.adb (Analyze_Subprogram_Renaming): Refine expander test in
full-expander test.
Minor reformatting, renaming ALFA in Alfa (we dropped acronym)
* einfo.adb (Primitive_Operations): Correctly return list of primitive
operations in a case where it returned previously No_Elist.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178358 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/s-taprop-linux.adb')
-rw-r--r-- | gcc/ada/s-taprop-linux.adb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ada/s-taprop-linux.adb b/gcc/ada/s-taprop-linux.adb index 6b3eb0b3ec2..b33b50cf524 100644 --- a/gcc/ada/s-taprop-linux.adb +++ b/gcc/ada/s-taprop-linux.adb @@ -1365,7 +1365,9 @@ package body System.Task_Primitives.Operations is begin if pthread_setaffinity_np'Address /= System.Null_Address then declare - CPU_Set : access cpu_set_t := null; + type cpu_set_t_ptr is access all cpu_set_t; + + CPU_Set : cpu_set_t_ptr := null; Result : Interfaces.C.int; begin |