diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-08-31 10:43:42 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-08-31 10:43:42 +0200 |
commit | 56812278e832fe969c443ca1835863f974e4b9d2 (patch) | |
tree | 61b9423513f189f83c625631b581033c832eb05c /gcc/ada/s-taprop-linux.adb | |
parent | 7cda9727babdc93f846191782dcc4c0cdba25d26 (diff) | |
download | gcc-56812278e832fe969c443ca1835863f974e4b9d2.zip gcc-56812278e832fe969c443ca1835863f974e4b9d2.tar.gz gcc-56812278e832fe969c443ca1835863f974e4b9d2.tar.bz2 |
[multiple changes]
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.
From-SVN: r178358
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 6b3eb0b..b33b50c 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 |