re PR ada/46350 (s-taprop.adb:891:40: warning: redundant conversion, expression is...
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Thu, 14 Jul 2011 23:22:17 +0000 (23:22 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Thu, 14 Jul 2011 23:22:17 +0000 (23:22 +0000)
PR ada/46350
* s-taprop-hpux-dce.adb (Abort_Task): Remove unnecessary cast.

From-SVN: r176296

gcc/ada/ChangeLog
gcc/ada/s-taprop-hpux-dce.adb

index fc1175b54d86e3ce6c34da63083902b3bdf9b485..c201124903512ee9e54f27ef988dbb78c86deb9f 100644 (file)
@@ -1,3 +1,8 @@
+2011-07-14  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR ada/46350
+       * s-taprop-hpux-dce.adb (Abort_Task): Remove unnecessary cast.
+
 2011-07-14  Florian Weimer  <fw@deneb.enyo.de>
 
        PR ada/48711
index ebc2f9ddc0c94dfb3e3fa2bc31beb4d6be2630cb..814b48b1a5cb23a348e5b6ea9fdce992228eb3d9 100644 (file)
@@ -888,8 +888,7 @@ package body System.Task_Primitives.Operations is
 
       if T.Common.State = Interrupt_Server_Blocked_On_Event_Flag then
          System.Interrupt_Management.Operations.Interrupt_Self_Process
-           (System.Interrupt_Management.Interrupt_ID
-             (PIO.Get_Interrupt_ID (T)));
+           (PIO.Get_Interrupt_ID (T));
       end if;
    end Abort_Task;