From nobody Mon Feb 9 21:22:10 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1601297962; cv=none; d=zohomail.com; s=zohoarc; b=TH8UbLtK0/qHJjA1zuByAUDhQX4UXOHtEcdJ4KDU56yIWfYWyt/wd9jRog9M3kmzeHxMHn/VZ9dV5A494Jph15PM9eCC/87iwXRn425yaNFuIxGSmx5aO3QVgGavIIUolv+ZS/iG6fyPjPwEqPE8crDL+EgUoUz0N+DDdo5PxqM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1601297962; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=lNLoWuf3VWBMLbz8iFaGpHLsud63gIf1tGgS+8bafOY=; b=fgHrbyOE9OJxECHaTDVUhPJWi/h6EsZVIa8QBoaQ9uq7S7DzZKs0u1Pkn+/KSUUReuEvGqJRyOh9Ca0B8Ik7ITREeQNNSuztrBYmJmUO4WabCEBvwfTwMTPUc8xVRwh/RGzd3QAZUbcsyipDpQgHMHeQ64mFmqrz5CiGMmxbQNg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 1601297962522291.2404394638261; Mon, 28 Sep 2020 05:59:22 -0700 (PDT) Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-230-X6IYOQ3GPaOzhf-R0XPrvA-1; Mon, 28 Sep 2020 08:59:19 -0400 Received: by mail-wm1-f72.google.com with SMTP id l26so318117wmg.7 for ; Mon, 28 Sep 2020 05:59:19 -0700 (PDT) Return-Path: Return-Path: Received: from localhost.localdomain (74.red-83-53-161.dynamicip.rima-tde.net. [83.53.161.74]) by smtp.gmail.com with ESMTPSA id h204sm1227917wmf.35.2020.09.28.05.59.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Sep 2020 05:59:17 -0700 (PDT) Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1601297961; 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=lNLoWuf3VWBMLbz8iFaGpHLsud63gIf1tGgS+8bafOY=; b=AYgFVU8JRVl+5HPS1Dtlc9sB+d0XXxBX4Dt7ZLzQwUinQOaXKU6ZKtNM0U/I7e3fwayq2N XQ4p39nixTqQ1re6y3CG6hp1SwFc9Qd0kNa+ecU0GTdRyJi+vxmj8JAK4qM5aTKx0+bDY0 P/kegB7KDrM/7UnxShE7VNjwGsMb5lg= X-MC-Unique: X6IYOQ3GPaOzhf-R0XPrvA-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lNLoWuf3VWBMLbz8iFaGpHLsud63gIf1tGgS+8bafOY=; b=p79e3TrBZ3eIITkOKKc4rh90m3CxCStjNzQtO3g2SwbT2oxwi3/7D423lXqFqd9W5l u2kKUhtjHreZWOJYXw70ZY3zTGBsIxzgeh+i3iT7Umqp0p+JcGgrFw/tvSpI+RHBxUdh OjpTpj9DOUovkxatPogZG9jz2MzDq6peZlE9v9EFqaBW/iQkI26Tx0RN9E+VRNHfo6Sa 0A2c6Mztj+VCHbJ0nh42P2/mmbZv5jQ0JTGAm5LCZy6lMwsxaJwtRxOmUp6eu7IE+bGx oQJe97uQOOtHtUaXqOZxzKpcQk5+RB4pQVfqwNbxpIreAAXe9TBfrYyua2yeRROef+sF kXCQ== X-Gm-Message-State: AOAM530otNIhWnpsG7zg17uIe8eZbIsU+HG+ZLBE4KgNH17CDFf4OPN2 aRh1xn4XytQAqbN59eItblkinwpuoS9oOz0Vw5RQha2+m/V5ccRu3j5r5vJDMzyz2t8t9cFL1Sp MTgfYC1aE+262nQ== X-Received: by 2002:a5d:5602:: with SMTP id l2mr1710767wrv.410.1601297957999; Mon, 28 Sep 2020 05:59:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0Dv01edvAvpJmhJDT9ncCo9xT2GQjpsNpprD/jVFhfQiV2PfWTdwUtIcF6CUX0ulciThpQg== X-Received: by 2002:a5d:5602:: with SMTP id l2mr1710753wrv.410.1601297957839; Mon, 28 Sep 2020 05:59:17 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Thomas Huth , Paolo Bonzini , Richard Henderson , Richard Henderson , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 3/3] accel/tcg: Remove special case for GCC < 4.6 Date: Mon, 28 Sep 2020 14:58:59 +0200 Message-Id: <20200928125859.734287-4-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200928125859.734287-1-philmd@redhat.com> References: <20200928125859.734287-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Since commit efc6c070aca ("configure: Add a test for the minimum compiler version") the minimum compiler version required for GCC is 4.8. We can safely remove the special case for GCC 4.6 introduced in commit 0448f5f8b81 ("cpu-exec: Fix compiler warning (-Werror=3Dclobbered)"). No change for Clang as we don't know. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Peter Maydell --- accel/tcg/cpu-exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accel/tcg/cpu-exec.c b/accel/tcg/cpu-exec.c index e10b46283cc..bf149bb824e 100644 --- a/accel/tcg/cpu-exec.c +++ b/accel/tcg/cpu-exec.c @@ -703,7 +703,7 @@ int cpu_exec(CPUState *cpu) =20 /* prepare setjmp context for exception handling */ if (sigsetjmp(cpu->jmp_env, 0) !=3D 0) { -#if defined(__clang__) || !QEMU_GNUC_PREREQ(4, 6) +#if defined(__clang__) /* Some compilers wrongly smash all local variables after * siglongjmp. There were bug reports for gcc 4.5.0 and clang. * Reload essential local variables here for those compilers. --=20 2.26.2