Message ID | 20241104161116.1431659-24-poulhies@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@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=gOoU6rUX; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XhxSb4Mkdz1xxW for <incoming@patchwork.ozlabs.org>; Tue, 5 Nov 2024 03:17:19 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4909D385B528 for <incoming@patchwork.ozlabs.org>; Mon, 4 Nov 2024 16:17:13 +0000 (GMT) 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 7C63D385842D for <gcc-patches@gcc.gnu.org>; Mon, 4 Nov 2024 16:11:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7C63D385842D 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 7C63D385842D Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::432 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730736730; cv=none; b=lmrk1xeStjYhSTTV2YL4rOG9KfcoEjG8gbdwgo2h6v8aXMldbPGyaiOMh9QZokAUJo4fn7PkChQJlmFT+8SAc27ZAuNgT55nKitLQZPs0ZKkhvKg2F+CSfwuBrGg4hW2E/n/GDnb28g29SvINuDEG9vsn6Ply9/0kFlnM8YrBLA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730736730; c=relaxed/simple; bh=D84MFS1Ho3DYypMcvmn3TXD4D8aTgnxgOWbHHmC8gfc=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=dgLNH8/aFRTwnqKEVQwDouIdjM7QFvx8cZPBatZVuInLAa1OH9vOGyL4pNomE9pBtf07Z8UkryxpZcb1GrzA1xVFxhR30e7Y/uI2TkaGMsHraa7J8H4UtkSdOkdcrY6kxaJmAKf1lDrrLpgvQbrT6TO/Boilz4jg4aeLcszyOUA= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-37d4ac91d97so3785718f8f.2 for <gcc-patches@gcc.gnu.org>; Mon, 04 Nov 2024 08:11:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1730736705; x=1731341505; 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=W1H6I2Bq6bMQ224de7HzFL6p/NlBDcfEDOktpzToCyw=; b=gOoU6rUX0H6D2idEm6AfM5l3Waz2pMWq6sK+I11HCHSj6M5Wb4X8iy6r9ZlL/afeQk MtJxM+7unBVHt8xCh7mndTqJYpFZP//RgCPe02WpuxhTStqD5qiMKScvUtCIo5r5ESzj uk5OtDBLrfyB6Hk7Lr33yKdV0RAsMmIpoFzISoWBdCRTRw/p1qpoxAJkEx2QBt9BXbhN Xf1g5FcJ5CewspPuXwT5ywQ1BJ9HaZc8oOf483+VUdY8oF49nbfTp4P29m+eey0fY6SB QMie3J+fpWJ1vNV25mIOBt2w20Lvvnr+z1FTwsUlPDDJsI6/X5KAMzQiBaSHRL+DtOiz Z/YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730736705; x=1731341505; 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=W1H6I2Bq6bMQ224de7HzFL6p/NlBDcfEDOktpzToCyw=; b=B0rG02SZliBvRmajLYDmOpnrb247H6/3Ua+9ZEnMXBKi0e66ABUx9GWkeEuDOAtmJA LN6tmgdLEOEuUTComOxc4BzZzpT+dap94DhO2NaeNa9gPvHJLeEr0AOi/FCMP4wsrQYi lbK3geTBo7VmCTsEZdGHF3MSs35kE7EN1WP8LPRJ9nX6SSr3MUcDmen0o931D+T4+yb1 yVk8BV6mspfTrMoMc4tzhl3SHcvs+T6MZpvWfXfx3j//1YOEe1yeDD/AdsvUd8SqjfFv 6oSUjOn3LNMJEpcwMNvb0P+LdWtMtefKaf3+VYln54i0wzdLmZDrfNUesS0/xDAIW46V xlMQ== X-Gm-Message-State: AOJu0Yy601TDPCX4dKu99OGdqyVmL5zOKTX49WsEOgJXG4h4ORe0upjh XU/07p6QwKt5/aV7/5FayJJg6PUH+O6qfxa/n8R9qyzZ7cqxFzr9Xv8y2IiitrCyaZaBJ5mb2fM = X-Google-Smtp-Source: AGHT+IFVAJGW8bClNC2cnOLBtcM39m2qSQ1+0gQPdup5NaAXxE+h5uowVyqK5E4BlhJZCvsW2Fy0EA== X-Received: by 2002:a05:6000:18a3:b0:374:c3e4:d6b1 with SMTP id ffacd0b85a97d-381c7ac41eamr12002504f8f.44.1730736705064; Mon, 04 Nov 2024 08:11:45 -0800 (PST) Received: from poulhies-Precision-5550.telnowedge.local (lmontsouris-659-1-24-67.w81-250.abo.wanadoo.fr. [81.250.175.67]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-381c10e747csm13574463f8f.64.2024.11.04.08.11.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Nov 2024 08:11:44 -0800 (PST) From: =?utf-8?q?Marc_Poulhi=C3=A8s?= <poulhies@adacore.com> To: gcc-patches@gcc.gnu.org Cc: Ronan Desplanques <desplanques@adacore.com> Subject: [COMMITTED 24/38] ada: Display message on reproducer generation failure Date: Mon, 4 Nov 2024 17:10:59 +0100 Message-ID: <20241104161116.1431659-24-poulhies@adacore.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241104161116.1431659-1-poulhies@adacore.com> References: <20241104161116.1431659-1-poulhies@adacore.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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~incoming=patchwork.ozlabs.org@gcc.gnu.org |
Series |
[COMMITTED,01/38] ada: Fix asymmetry in resolution of unary intrinsic operators
|
expand
|
diff --git a/gcc/ada/comperr.adb b/gcc/ada/comperr.adb index e411ddb5d29..726f0ccadb0 100644 --- a/gcc/ada/comperr.adb +++ b/gcc/ada/comperr.adb @@ -409,7 +409,8 @@ package body Comperr is Generate_Minimal_Reproducer; end if; exception - when others => null; + when others => + Write_Str ("failed to generate reproducer"); end; Write_Eol;
From: Ronan Desplanques <desplanques@adacore.com> Before this patch, nothing was reported to the user when an exception was raised during generation of a minimal reproducer. This patch fixes this. gcc/ada/ChangeLog: * comperr.adb (Compiler_Abort): Display message in exception handler. Tested on x86_64-pc-linux-gnu, committed on master. --- gcc/ada/comperr.adb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)