From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [IPv6:2001:67c:2050:0:465::102]) by sourceware.org (Postfix) with ESMTPS id E8B34383BD7B for ; Tue, 6 Sep 2022 14:20:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E8B34383BD7B Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=gdcproject.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gdcproject.org Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4MMSFn1nZGz9sSk; Tue, 6 Sep 2022 16:19:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gdcproject.org; s=MBO0001; t=1662473997; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=w+4B1pmWm4mcdY3XBpVKcC4VTWNU7t8+TZAz7Plva1M=; b=jBjpSFPcq1mZWPW2ZPhrNdneEhHWFApNIcGOMDdfDb+VAaYMRHfeZNXTuuvCQ18jiCZWXn u9fEViy/ed3Bu4xESTGkmySe1i80ol+ZXGEq/eXPXHCtXHt8bGNryf7Aa7nOmSOzEWOIUU jk2n4ctg97tMLUp4mk/I1OR0S03APtdaKCQRCkDlDx782n1D/vdEF5+5+9lP9QbBOucYnr ew55uRwleoFi74x6hXqe12foulAefiPHPp2HmzgDdbvYK4FDJgi7uotswnkb6vyeguSzWP fZ5PPOXDu2c6FOp1MuXys+w7ZlInU2/PRo08crqmU6OLFIKRPGTEGfZMCCJHaA== Date: Tue, 06 Sep 2022 16:19:53 +0200 From: Iain Buclaw Subject: Re: [PATCH] d: Fix #error You must define PREFERRED_DEBUGGING_TYPE if DWARF is not supported (PR105659) To: Rainer Orth Cc: Iain Buclaw via Gcc-patches , Joseph Myers , Richard Biener References: <20220816211627.209433-1-ibuclaw@gdcproject.org> <1661946124.o8swlumpp1.astroid@pulse.none> <1661972814.ht3t1le0d2.astroid@pulse.none> <1662134159.ozionptp0l.astroid@pulse.none> <1662461291.9qhrd4im4r.astroid@pulse.none> In-Reply-To: MIME-Version: 1.0 Message-Id: <1662473974.qwin0prel4.astroid@pulse.none> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE,WEIRD_PORT autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Excerpts from Rainer Orth's message of September 6, 2022 2:04 pm: > Hi Iain, >=20 >> Is there a difference in output from `./gcc/d21 -quiet -v` ? >> >> Pay attention to any predefs that have suddenly appeared or disappeared. >=20 > there is indeed ;-) The previous d21 emits >=20 > binary ./266566/gcc/d21 > version v2.100.1 >=20 > predefs GNU D_Version2 LittleEndian GNU_DWARF2_Exceptions GNU_StackGrow= sDown GNU_InlineAsm assert D_PreConditions D_PostConditions D_Invariants D_= ModuleInfo D_Exceptions D_TypeInfo all X86 D_HardFloat Posix Solaris CppRun= time_Gcc >=20 > while the patched one gives >=20 > core.exception.ArrayIndexError@/var/gcc/reghunt/master/gcc/d/dmd/root/str= ingtable.d(291): index [3530971477] is out of bounds for array of length 0 > gcc.deh(505): uncaught exception > : internal compiler error: Abort > 0x96d5b6c crash_signal > /var/gcc/reghunt/master/gcc/toplev.cc:314 >=20 Excellent, and the stage1 compiler? Iain.