From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 6ByXNtAvR2i9YQcAWB0awg (envelope-from ) for ; Mon, 09 Jun 2025 15:02:40 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=d1F2/LKl; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id DB3941E11C; Mon, 9 Jun 2025 15:02:40 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-9.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE autolearn=unavailable autolearn_force=no version=4.0.1 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 (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 30DC61E0C2 for ; Mon, 9 Jun 2025 15:02:40 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C0A793857C78 for ; Mon, 9 Jun 2025 19:02:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C0A793857C78 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=d1F2/LKl 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 79123383068D for ; Mon, 9 Jun 2025 19:01:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 79123383068D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 79123383068D 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=1749495703; cv=none; b=bKG0fuz1zETnczfB9+LbF2qMN670Vtor6LkkBeBbLaSVLl3jgPGfPEk3y4dLkX0yvKQ8i2T1nsXomnXu2qkYEXECSnc6sX842uAWD33t7amhlu2Rf+Gu/UM6j/ckyXDJnKvh1AwUTOefBgBWZvzEom8LllhTSpZcvgLTQPwO4xs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1749495703; c=relaxed/simple; bh=zaxotfBbqfaFMAiFXgKgY8m/IMBaarq2XIbDBTj5mu0=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=LOOGvmpJ6uCE+10xkuPiq/zDMAN2t2uWnbeuxBsKqSZEf+1CoCLJtYMHD990rz92tpAB9IwyI4ysro1jMG+2475I7SnQMS69N8j5YV7Y4jQS1QKdcO3nRXgGdJ5DabaVXSAZA3h6xgS+qUeXCQLeQ/Pz5vhQ9l/RyKYy+uXaLMc= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 79123383068D Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-450dd065828so31494585e9.2 for ; Mon, 09 Jun 2025 12:01:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1749495702; x=1750100502; darn=sourceware.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=kal0tqtJoTHL6TMTnaxvgVpZbXWBlKgStEWUvOYPQ2o=; b=d1F2/LKlGVNHde5D5Gz8jJ2GKeEzjLCLoiftMWbQcUWTda0XMJ0SNJCrfQZgABtleA 7GwrCasvZMa+f1KHRXrBw/3/4ExjVfC5M3atHF6u8Bs4fg3Y88ZHKMV4stQG54tUi5Xb Xdp3OB6eQlRBm8W4apLTThx6B6neCe2XMLxXVbYw0DOqpANwgiNVCTeqxmXW3Lrk71O5 cJ63ZiP8PFlU4g9YbJG2P9TWfNPGwQ34umgttK3jfBB22IX84/IcGs2e6MP1c+uGM3nR S0rvHKmQMiIk4ISSyOgxo7g9s22wAWh7zTMw6CazakmH/Zzzo97HoSE15/93LXmYhPls E40Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749495702; x=1750100502; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=kal0tqtJoTHL6TMTnaxvgVpZbXWBlKgStEWUvOYPQ2o=; b=H/ggQlW6IxAWj8f5N7/y30+n8qVCciqEQ+SgOaUMd4Gaj50iC9B7Z0jAecTWUiwDhj 2HGukISVpL2pBISZet2XpybV0y71hBZ6GDZBxRyhTyB+0xDSF4Pcnht3x0kR5l6k0xnx 20ugCYN6Os7dZztkrtxAZAm+VsYr4dBnPX1/RaeZ/a2PC+fJCcxPoGo38qhwEeN0TEnP xrv8iBe4FmtMN1fw4D4k8OtPIFvWgJTVgb/8qLiLEnPx8D5xM0xFb3VjRJaCjWdrzmy8 CyBsmKqpC8wtxLwHIM7ljAP8dWdpIYCp4ouAGxTGlijCK58DM08iwgWsiOkOqvymvs2o I3eQ== X-Gm-Message-State: AOJu0YwBOSKajAydSCm8kaU6gmtdFlOxkMXuTQzztCZITewH+gHa9aMz 0b+27ZmR7+DsO2qISoON8iCWqk1APkhpCzGRiz7h+wxPwK9yHTDHXnhd X-Gm-Gg: ASbGnct3cqUnGnKLFP9YmNukcZCuZoV1N5EZWnkvOBEuQR+aU8pJLDoQUJANZeWHf+2 DRqa2NzSBco3yV0HV1WHQKyVymqnqpb/pWlgwFB+wgv0TmGrKYfrRny/GkHjM2j1aFdQrT+BMrs iywVEB4RxljnQZvCxY4o1YacYlCxvtUNi0EXJeLeC/0I0krzekOHe3MuEkoxDwv5huC3B/xL1Kr aMwPeGD+FSbfsxJo61ruWRiJXRoT4VX6cNdlqTrm5WrZ9ufWiFZEA9QOkNScymrO4sZ2vWXvSLY UHhSWAI+4tPFyr4IQtGcLbqPa3t74ZtjkmdAxjyG1cuRv4YcvU50D/9q37Zc0YGa07W0TUKsWpJ vMIW8OOVzTNh1NCb7VI9sL1kEgQ== X-Google-Smtp-Source: AGHT+IGLf/Z21oZs1kp3KrGMkYgdjxCQ+g3y0BzeIs0vb9Ox4pYdnBeu0cwNMezGTqf3UehyQcwXNQ== X-Received: by 2002:a05:600c:8b70:b0:442:d9f2:c6ef with SMTP id 5b1f17b1804b1-452013fd8ddmr142139265e9.2.1749495701659; Mon, 09 Jun 2025 12:01:41 -0700 (PDT) Received: from localhost (cpc1-brnt4-2-0-cust862.4-2.cable.virginm.net. [86.9.131.95]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-45213709611sm120899305e9.24.2025.06.09.12.01.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Jun 2025 12:01:40 -0700 (PDT) Date: Mon, 9 Jun 2025 20:01:38 +0100 From: Stafford Horne To: Simon Marchi Cc: GDB patches , Linux OpenRISC Subject: Re: [PATCH] or1k: Fix ICE in libgcc caused by recent validate_subreg changes Message-ID: References: <20250609185222.1538148-1-shorne@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org On Mon, Jun 09, 2025 at 02:57:46PM -0400, Simon Marchi wrote: > On 6/9/25 2:52 PM, Stafford Horne wrote: > > After commit eb2ea476db2 ("emit-rtl: Allow extra checks for > > paradoxical subregs [PR119966]") paradoxical subregs or the OpenRISC > > condition flag register (reg:BI sr_f) are no longer allowed. > > > > This causes and ICE in the ce1 pass which tries to get the or1k flag > > register into an SI register, which is no longer possible. > > > > Adjust or1k_can_change_mode_class to allow changing the or1k flag reg to > > SI mode which in turn allows paradoxical subregs to bre generated again. > > > > gcc/ChangeLog: > > > > PR or1k/120587 > > * config/or1k/or1k.cc (or1k_can_change_mode_class): Allow > > changing flags mode from BI to SI to allow for paradoxical > > subregs. > > Wrong mailing list I think (gcc, not gdb). Yes sorry, I have tab completion and gdb-patches looked like gcc-patches to me. I have resent to the correct list. -Stafford