Message ID | 20241025091107.485741-32-poulhies@adacore.com |
---|---|
State | Committed |
Commit | 125a6e41176b7584caf4cf01c5b2ce77c9f195d2 |
Headers |
Return-Path: <gcc-patches-bounces~patchwork=sourceware.org@gcc.gnu.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 05F7A3858CDB for <patchwork@sourceware.org>; Fri, 25 Oct 2024 09:24:30 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by sourceware.org (Postfix) with ESMTPS id 77E3D3858C98 for <gcc-patches@gcc.gnu.org>; Fri, 25 Oct 2024 09:11:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 77E3D3858C98 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 77E3D3858C98 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::333 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729847535; cv=none; b=carf05txTrzBXITujpn0jKsFu7L11HQEdtayc9z5H13VjgU0+Gm2oRK5Xo7kfUNPwOjaCjQuMdGG/A0BRjE3GE4psdWpPXfDJglWKBPaqkB/8pSbLxQaJYNh9xDC3JwlkY0L4BlX0/Aqu+CcFoneN41HWeIQqm0pGgXeHeNeOYc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729847535; c=relaxed/simple; bh=QK9oa+yZowcUpi2ikidUbnqr5W+SfPYIEwktAEAjccQ=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=eenYmBDStVy2GEK2CwZlBH/Ev/FL5RAwNyvC+VxCPB2s8uF/YP5z6B95sP6BD53o44ATYQ6oV8OKy3F285pTTVYHvhTcn58puVsD+Az3bZYidTwQnGUbxVQuRhmskJH6yZTOqAwz1xrgnWKfxgc7lxQZw4OR3itZfZSV5p2JIoQ= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-4314c452180so19696305e9.0 for <gcc-patches@gcc.gnu.org>; Fri, 25 Oct 2024 02:11:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1729847516; x=1730452316; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=s/+ZNTeFmWMpRbQY++VQgS60DwZFD5+jFFOeOY2XJQE=; b=MJFL2X1YPQA6O86A3GYO9dQ4UZgfOngmVIrOIYgM9KgQeJ1USqluQDNFc1mrLwegmd pJ/NWQq1ZUdnpnL8KVdWWDuBYCq/tpv4XF228CIWwXBpMr9pG3ZYmSB3Qq1kIv/uFKUd Ct1AAb5waLnPo9i4jhoBcOMjtC4nMjZxiCLiLBit3UMcSoVwcdWQHpiMSt7kD2RXZNCY SpmrZxWtHXVF4VMuTLshvJ1v4Vd8BNCGQ0SDGN0T3rFWhH0poiKy5lD3+LeT4i0j5ntX 3CwQL7T0KAcr2DIKDcRnNrW2rNkFwTKV3N3Rh0+l738F1RHBqJpJC4AodKONXFXdL9Dw aIEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729847516; x=1730452316; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=s/+ZNTeFmWMpRbQY++VQgS60DwZFD5+jFFOeOY2XJQE=; b=wM40YlVL/6hY4XzCCdr/jC2QG0jfWyqLB5IGdhbNPbapqOwuOBDzfo6ddnmV29lGcO mbviE9aRIKkQ580a0yDzpnU3YcBNcx9bM0wOEJEZWAhF1mGQKSOJ4Wd72qE/lZr28ihL nq24xRqB86lHr6AOIwtXpvs8fVjNtsc0LjJmuTL66nvNSuxANpAQFyEgnvbkfVbDMrBi dMU+HvaYSQB2d1kYuqB4entunjAteqT3i6VVN43joHWtwuCNbBC/EovJiQOB+7ehyEOQ ueCxllBlBmGVIuE0LrEOGxLgrI973NmuIkkoVjzlU7PNwA4JqwWGIBbbBevVBAxD1IVC vtsw== X-Gm-Message-State: AOJu0YxnXfV7IhvpCTQECKu+rqzZxTw9C/gF2214bp2h+YlhIXHKPpxu 8iCouzeIR+eYXEts960DQxqFCCN8+pG+9lAN2Iw4JwCOqjAH2KSP11R7WPX0khTyeEpyrMue50k = X-Google-Smtp-Source: AGHT+IEMa6vYCU86kF9hvynzAbRhq5FT+dNl9nzr8IbZRhWFc1MVllW2GjGSju8c5zEJ9xdTPmVAgQ== X-Received: by 2002:a5d:534c:0:b0:37d:443b:7ca4 with SMTP id ffacd0b85a97d-3803ac4a080mr3007523f8f.14.1729847516182; Fri, 25 Oct 2024 02:11:56 -0700 (PDT) Received: from localhost.localdomain ([2001:861:3382:1a90:2626:b78c:6271:6c01]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38058b47aa8sm1013079f8f.51.2024.10.25.02.11.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2024 02:11:55 -0700 (PDT) From: =?utf-8?q?Marc_Poulhi=C3=A8s?= <poulhies@adacore.com> To: gcc-patches@gcc.gnu.org Cc: Tom Tromey <tromey@adacore.com> Subject: [COMMITTED 32/35] ada: Mark XUA types as artificial Date: Fri, 25 Oct 2024 11:11:01 +0200 Message-ID: <20241025091107.485741-32-poulhies@adacore.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241025091107.485741-1-poulhies@adacore.com> References: <20241025091107.485741-1-poulhies@adacore.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-13.8 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 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.30 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> Errors-To: gcc-patches-bounces~patchwork=sourceware.org@gcc.gnu.org |
Series |
[COMMITTED,01/35] ada: Pass parameters of full access unconstrained array types by copy in calls
|
|
Checks
Context | Check | Description |
---|---|---|
linaro-tcwg-bot/tcwg_gcc_build--master-arm | fail | Patch failed to apply |
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 | fail | Patch failed to apply |
Commit Message
Marc Poulhiès
Oct. 25, 2024, 9:11 a.m. UTC
From: Tom Tromey <tromey@adacore.com>
gdb does not need the name of XUA types. This patch changes the
compiler to unconditionally mark these as artificial; a subsequent
patch will arrange for the name to be omitted.
gcc/ada/ChangeLog:
* gcc-interface/decl.cc (gnat_to_gnu_entity): Pass 'true' to
create_type_decl when creating XUA type.
Tested on x86_64-pc-linux-gnu, committed on master.
---
gcc/ada/gcc-interface/decl.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/ada/gcc-interface/decl.cc b/gcc/ada/gcc-interface/decl.cc index 256541df411..ba75fa33093 100644 --- a/gcc/ada/gcc-interface/decl.cc +++ b/gcc/ada/gcc-interface/decl.cc @@ -2483,7 +2483,7 @@ gnat_to_gnu_entity (Entity_Id gnat_entity, tree gnu_expr, bool definition) /* See the above description for the rationale. */ tree gnu_tmp_decl = create_type_decl (create_concat_name (gnat_entity, "XUA"), tem, - artificial_p, debug_info_p, gnat_entity); + true, debug_info_p, gnat_entity); TYPE_CONTEXT (tem) = gnu_fat_type; TYPE_CONTEXT (TYPE_POINTER_TO (tem)) = gnu_fat_type;