Message ID | 20220518084320.GA3353075@adacore.com |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=mkaW6qY0; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=<UNKNOWN>) Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4L36Rm5L5Hz9sGC for <incoming@patchwork.ozlabs.org>; Wed, 18 May 2022 19:01:40 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A84BD3858C53 for <incoming@patchwork.ozlabs.org>; Wed, 18 May 2022 09:01:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A84BD3858C53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1652864498; bh=+cTBOIWlflkWsWZYIm7/jld8/7ftJLPA8qEn+2FRhV4=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=mkaW6qY0ATPQeXxO3lSUsMGtoXWIP0eR3+Cu8Yas1z92zt8xQqe07764KXFvvf8MA S+2ClJ79Tjax2eVaJDdYEEOVxfgRG0DNySpUTk78bkQi82TkDZnJoUdP4FBWtyk1Rz sv4sh078FWP5+K1g7yKHh2KFRU02zb+/Ei9i/HAw= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by sourceware.org (Postfix) with ESMTPS id 7FAEA3857413 for <gcc-patches@gcc.gnu.org>; Wed, 18 May 2022 08:43:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7FAEA3857413 Received: by mail-wr1-x432.google.com with SMTP id h5so506629wrb.11 for <gcc-patches@gcc.gnu.org>; Wed, 18 May 2022 01:43:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=+cTBOIWlflkWsWZYIm7/jld8/7ftJLPA8qEn+2FRhV4=; b=xlI02HuGfngIkw3zb2/Qlnu00vLQikKNKwvhX/d5VL22vb3OkJNrrUNVYzMA9Y7rbc 32aPFPEC62xIYvSK1gWH8ozAzL06tb/m4AOzyWXnA/0zl1gu5vMrALnMT4XVepe5knty QqZskBk2exVoX1eTvuDJ+hvrndXZUDxPDnjCoOtW3s51XVV59aCei63tExH80nLgZqzq rtuNMVancTbqNYW/n6yOs+35gSVcdVVt3NdBt0GLGVRiK2mJWyrnam82lWw2gbX6vV2b 5dbviAryz5tq5UB8YmCTSDYiNzj/S/szAez5A+IKwxm1iRjcPQ85ZK44GQoioMfKPJag k+kw== X-Gm-Message-State: AOAM531V+VfirLlllvFxHKRrD/bv4UXSCSIsSmBLrf9Ts8PIy1Bq9vat Pph2iXQT+LGUTM7JCI9IGLws0MXLtpC2iw== X-Google-Smtp-Source: ABdhPJx1VtvhLa0IE0zpak0RPwMo1nJZk/8cgJjDkWyeoV9okW6QL1FlhIOPdqM9rO3auQ81ZYPGvg== X-Received: by 2002:a5d:598f:0:b0:20c:83c9:b05b with SMTP id n15-20020a5d598f000000b0020c83c9b05bmr21977073wri.343.1652863401352; Wed, 18 May 2022 01:43:21 -0700 (PDT) Received: from adacore.com ([45.147.211.82]) by smtp.gmail.com with ESMTPSA id i27-20020a1c541b000000b003942a244ecfsm1120615wmb.20.2022.05.18.01.43.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 01:43:20 -0700 (PDT) Date: Wed, 18 May 2022 08:43:20 +0000 To: gcc-patches@gcc.gnu.org Subject: [Ada] Fix Ada-QNX task priority conversion Message-ID: <20220518084320.GA3353075@adacore.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="y0ulUmNC+osPPQO6" Content-Disposition: inline X-Spam-Status: No, score=-13.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> From: Pierre-Marie de Rodat via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: Pierre-Marie de Rodat <derodat@adacore.com> Cc: Johannes Kliemann <kliemann@adacore.com> Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org> |
Series |
[Ada] Fix Ada-QNX task priority conversion
|
expand
|
diff --git a/gcc/ada/libgnarl/s-osinte__qnx.adb b/gcc/ada/libgnarl/s-osinte__qnx.adb --- a/gcc/ada/libgnarl/s-osinte__qnx.adb +++ b/gcc/ada/libgnarl/s-osinte__qnx.adb @@ -87,7 +87,7 @@ package body System.OS_Interface is (Prio : System.Any_Priority) return Interfaces.C.int is begin - return Interfaces.C.int (Prio + 1); + return Interfaces.C.int (Prio) + 1; end To_Target_Priority; -----------------