Message ID | 20240612172031.3827584-2-ak@linux.intel.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; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=Mh+P4u3x; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; 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 [IPv6:2620:52:3:1:0:246e:9693:128c]) (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 4VzslD24SPz20Pb for <incoming@patchwork.ozlabs.org>; Thu, 13 Jun 2024 03:21:12 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8A4C5388216E for <incoming@patchwork.ozlabs.org>; Wed, 12 Jun 2024 17:21:09 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) by sourceware.org (Postfix) with ESMTPS id 71DE23882064 for <gcc-patches@gcc.gnu.org>; Wed, 12 Jun 2024 17:20:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 71DE23882064 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux.intel.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=linux.intel.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 71DE23882064 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=192.198.163.16 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718212845; cv=none; b=C64SLjLYv5cMwnhPoMdVGg/kpEg8PU9OYVQHMQI6X1IZxPB5yESZqoiXWXJnpoeRcOK5n7TWMtIcyRgvDvGY02SIj5MYYmZCN6BBAfYsHT5RN0I0uuaFeB/Af0YpfxNeOmjY3RBZDI7m6dvWNWgTHYKM2SjsSMmOo7OW41bKRTE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718212845; c=relaxed/simple; bh=8xUNElXoi9RbHjpJZPmqXsqZ2qVlgXaPNTLkAc0OK3s=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=njt7vYxU+glZvL54L8y/xzNxSGSR9f9V+IykzcQg2HDeyC7aATHiW/6gvLZwY/YV5c1SPbeV6g/CwGfkJzUczjMqtj49SR6mTvnYSbMZbtTG48fXFOsFyZbZFXvjAXWJNmDf2Lxk2DpETeCRlP/YOXHiZPHbmzLcUEhiEDpOo4M= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718212843; x=1749748843; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=8xUNElXoi9RbHjpJZPmqXsqZ2qVlgXaPNTLkAc0OK3s=; b=Mh+P4u3x+7f+vTz9BjqhfjfEHJ3UHGELbll8d4RkelOd+95l5dZsPGXX sXFrylu+lRguLNTwJKGlrOEkNPVOi1qgBJxiDXq7ZdqLBgA2kfM/DGQIV AGRmRmakehwXU+rRl3LUZtbFMqRbgHD9/5ujbuR0qiwd+zq1K1wOHL35J caZVai0O2+ftplwEoNzSI/ccvskOX+qhT9oDHRz47GumcuJq2ScsVtVQ4 FPJympdZ3DXqEydjIAjgs1ZM3ISO35Or4XIi3nBQ1M8a5PwOZw9ATidvg 4mjw0hP11mKbQSXP+AShfD/1llbifFqHt/jWoXcj9t/nBAGRYoa93/gZI Q==; X-CSE-ConnectionGUID: ncYn9NJmSrWf+wmPUYbYzw== X-CSE-MsgGUID: w017fyAsQdqW+ktiZgwhnQ== X-IronPort-AV: E=McAfee;i="6700,10204,11101"; a="12039721" X-IronPort-AV: E=Sophos;i="6.08,233,1712646000"; d="scan'208";a="12039721" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jun 2024 10:20:39 -0700 X-CSE-ConnectionGUID: znahRFUYSmG0Toeq91cvxQ== X-CSE-MsgGUID: QdYf7h9uQ9mqYYTfe8iTbQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,233,1712646000"; d="scan'208";a="44796875" Received: from tassilo.jf.intel.com ([10.54.38.190]) by orviesa005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jun 2024 10:20:39 -0700 From: Andi Kleen <ak@linux.intel.com> To: gcc-patches@gcc.gnu.org Cc: jason@redhat.com, Andi Kleen <ak@linux.intel.com> Subject: [PATCH 2/3] Parse close paren even when constexpr extraction fails Date: Wed, 12 Jun 2024 10:20:30 -0700 Message-ID: <20240612172031.3827584-2-ak@linux.intel.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240612172031.3827584-1-ak@linux.intel.com> References: <20240612172031.3827584-1-ak@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.2 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_NONE, 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: 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 |
[1/3] Remove const char * support for asm constexpr
|
expand
|
diff --git a/gcc/cp/parser.cc b/gcc/cp/parser.cc index 98e8ca10ac40..adc4e6fc1aee 100644 --- a/gcc/cp/parser.cc +++ b/gcc/cp/parser.cc @@ -22856,7 +22856,7 @@ cp_parser_asm_string_expression (cp_parser *parser) if (!cstr.type_check (tok->location)) return error_mark_node; if (!cstr.extract (tok->location, string)) - return error_mark_node; + string = error_mark_node; parens.require_close (parser); return string; }