Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1007860pxb; Wed, 6 Apr 2022 06:35:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAvyUm8DG8Kdl2y1t9SC942rpkiwlxi5hKUInG7LvIiXQH7/AT9kf5OdhNAW0Vh2CcNc3d X-Received: by 2002:a17:902:d4cc:b0:154:3a3b:4172 with SMTP id o12-20020a170902d4cc00b001543a3b4172mr8386934plg.165.1649252117465; Wed, 06 Apr 2022 06:35:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649252117; cv=none; d=google.com; s=arc-20160816; b=xjfmWKnK48sTCUwXeEY+2xZy08bu9hKZ194BRBNzogRzqWcqeRBPl3cIDcq3PKMtfe 3ceT9mQpMlvfB+EnpxCJw1y7HFXJc3OW4/QNwK63fmXx/P4nzFNMnqLHJ5drjM2GIZPB Oj2BeTfYZOW7eFfKALETHHqxq2K9IyjQe7zVjhzRTC4jxiNuf+/GbFUpkorfE0Q+Oz8p EwAD+M1jlDEpbAxW92P8aXh6JE0LWgL7dQGujIJAdFtUY4n9pnlKZl/4GBdjhcYlSyWt dU1Uno4s0rCwHLDeCM2qc+09OcA1X1edf3yn5Zz76Ky2riN0K9eLF1TxHgTQrShZBNDy PGSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=aAiETv6NNGhLTTzIDJkzKivJQy7gSmYaJopESRTcDRQ=; b=R55LjR8nu7C2xWNCpEkWobv1UEM5h1VuzGFGnqlzW7NQtkjIC3l8UkEneUslZcH2X9 CEQ7d7MjYf8aTVIzhc1x7B2AZAZ9bPZnzMwpT/LvOHaOL00VlAQyIiWDU3f36nkbS6/E Gcq33F5TM1X0VC1gIJfEohXQNvNBj53lbe3tZdB/Ynw9FN2xvjc16DtXwUmKTGRieFpA f4x5UZnqPyj6KD3RzC7d8wWHgcXRvk1zZHks+4n4ibbMfhfRUOJ5UxiBNsOEcE7oYv/p /SFQUJ+L6FF57kxpZEs40ySSBcLFlWyHT6p0hekymeE/tfIgz9gSJrxG/Qttc5B3nMnD kPbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b="F6XF/rJj"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id b10-20020a631b0a000000b0038653753857si16078469pgb.409.2022.04.06.06.35.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 06:35:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b="F6XF/rJj"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 41F882C49A6; Wed, 6 Apr 2022 04:15:10 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1840807AbiDFBL5 (ORCPT + 99 others); Tue, 5 Apr 2022 21:11:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356944AbiDELPz (ORCPT ); Tue, 5 Apr 2022 07:15:55 -0400 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D416C546AC; Tue, 5 Apr 2022 03:37:05 -0700 (PDT) Received: from zn.tnic (p2e55dff8.dip0.t-ipconnect.de [46.85.223.248]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 642EC1EC02B9; Tue, 5 Apr 2022 12:37:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1649155020; 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=aAiETv6NNGhLTTzIDJkzKivJQy7gSmYaJopESRTcDRQ=; b=F6XF/rJjfwXREbr0pfnpBYgpNjGCPYK6nNqwoTSXR6Gfdo/AZreDbP6b5t6kW4MpUzL89c XCX8+pyP9quh9tkkJ0KxtKIpPJIolvLGZdQnpaGnI+4Ewz5fgr2HHJTH8/tVuS57trpB3v JXBPpkUNIbGrrM98joAlAPTpsj4hG8Y= Date: Tue, 5 Apr 2022 12:36:58 +0200 From: Borislav Petkov To: Richard Biener Cc: linux-toolchains@vger.kernel.org, Michael Matz , lkml Subject: Re: older gccs and case labels producing integer constants Message-ID: References: <7o5nn52-nqn1-oo13-s6o9-59r85r91o768@fhfr.qr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 05, 2022 at 12:06:45PM +0200, Richard Biener wrote: > Wird auch mit gcc 11 rejected. Kanns sein dass mit gcc 7 andere > compiler flags genommen werden? Found it: $ gcc -fsanitize=shift -c switch.c switch.c: In function ‘foo’: switch.c:10:7: error: case label does not reduce to an integer constant case (((0xfc08) << 16) | (0x0101)):; $ gcc --version gcc (SUSE Linux) 7.4.1 20190905 [gcc-7-branch revision 275407] Copyright (C) 2017 Free Software Foundation, Inc. Something not fully backported? Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette