From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) by sourceware.org (Postfix) with ESMTPS id F18E23858403 for ; Mon, 12 Sep 2022 20:11:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org F18E23858403 Received: by mail-io1-xd32.google.com with SMTP id 62so7914766iov.5 for ; Mon, 12 Sep 2022 13:11:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date; bh=O7ZecWeaV/kf+vziNxJCt2XTqwIcAYF8UhwUsUx7WH8=; b=DoVHp44yNHi3slkAnDQ88jSMzOkrsWw9RgSZ9hgYt/0AY6nZiZpezUEUIdzYZJzyoJ UPQzbK8J/uiADF6vwzNF0amNSFv5gsz4xYEefF+29UwV5mJsThhmRni73KDk8iDX4sAN Fyq6gMh9GfjgwMY0tKurdENL8415MgCapnU4XrwnhqQSW2v/ljT3q4C2Y3stsaai/HjT C1locJZTKObEUpnrGkLmNh7Q05RewbTxVAQC5wNekV782KGmJPs4wToC3s3njTFSq/Ix Ocgimej5vC5JF8zaw94M3bupqbmem1uM2zzgoSSNyM/ubxQnU6JXdVUrPtswk4zwEuHI fbTg== X-Gm-Message-State: ACgBeo3XyNdxtKq210vreW/lpcbqBore6jrEetnufpUcpZqFk/rKMiZm KtBalaCbnb+FfBTsL313O3IdZqGRwlBCCA== X-Google-Smtp-Source: AA6agR4eK09amahJ5/rwCB0mpcp70LJs44Er8fyGRilvCwRqnzX6+UHoJ9bzDODKnhJGUje0o3QXOA== X-Received: by 2002:a05:6638:272c:b0:35a:3922:c351 with SMTP id m44-20020a056638272c00b0035a3922c351mr3700559jav.272.1663013493232; Mon, 12 Sep 2022 13:11:33 -0700 (PDT) Received: from murgatroyd (71-211-160-49.hlrn.qwest.net. [71.211.160.49]) by smtp.gmail.com with ESMTPSA id e10-20020a92de4a000000b002eac38773cdsm3935535ilr.82.2022.09.12.13.11.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Sep 2022 13:11:32 -0700 (PDT) From: Tom Tromey To: Tom Tromey via Gdb-patches Cc: Tom Tromey Subject: Re: [PATCH] Use checked_static_cast in more places References: <20220817174806.2372400-1-tromey@adacore.com> X-Attribution: Tom Date: Mon, 12 Sep 2022 14:11:32 -0600 In-Reply-To: <20220817174806.2372400-1-tromey@adacore.com> (Tom Tromey via Gdb-patches's message of "Wed, 17 Aug 2022 11:48:06 -0600") Message-ID: <877d288ia3.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, 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: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2022 20:11:36 -0000 >>>>> "Tom" == Tom Tromey via Gdb-patches writes: Tom> I went through all the uses of dynamic_cast<> in gdb, looking for ones Tom> that could be replaced with checked_static_cast. This patch is the Tom> result. Regression tested on x86-64 Fedora 34. I'm checking this in. Tom