From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by sourceware.org (Postfix) with ESMTPS id C99673858413 for ; Mon, 7 Nov 2022 09:48:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C99673858413 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-wm1-x330.google.com with SMTP id i6-20020a1c3b06000000b003cfa97c05cdso41310wma.4 for ; Mon, 07 Nov 2022 01:48:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=mI1G98P9LAL9T6fCbPwid98wWMEPH2Kt0GQukn6x2l8=; b=ZoEn5oadTjc1LqLhBeymGifF34caTJ8mSAMYoRs4GC92ENEG0YZgDWDUlvbd+lY3Ct guLML6kL55c9zc0tfkiggNsvjASeZIVuYALAV98z9wQFY0Yn2/nQfzBVmQb95lJ9bWhs p/UlsSyc2r547p+9De0/rGg5Nv2nASxBO+vCigOiyx6O1NzQqJ9SFKeSYn9XvBTQxCI7 hm0qypiRG67FXbjDNfU7SX/C8DxuJ68GYHrqdC9lPok2bnQwzkoMS9KcODLCeWsMxwXd B/EOnCbMx/8SFBmuE5lNHOSd6ARCVhwrHnHZ0Ma6xf/ZVlbpJdVgeQ/ptfm0FjGeILsN /fWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mI1G98P9LAL9T6fCbPwid98wWMEPH2Kt0GQukn6x2l8=; b=GmHUJNsPRYPuMq+lqeyLlBSLqLXxjEWhUAV3mmABY/Ulx4EoLmz6O7nO5V4OZbUFXP JxTBnruTWQGl1+tjCgAHGsUAQtgc6/UwfuyQb+lEVINmoas6bqF5OLLd4cuUIs0cgg+C +/B1JroAoxEyLdpOn+ME/HAtUnGxIxxbiOKgsa6+rpYxrBUHTZ4NQT50UPrBIoQcWCXI GqgPD7FJ7Qb2yvu5LP0pJWI8NqyytBcFNo2qRVtRv+zK5CMvE7CqXMds/x+4nF9688X1 ljMFnI7/4/vX+1t6vDklMySGaG9KiXfOQibnMxWwV8nwLaTduiPLpB9LsrIHP9LLx/H+ NBqQ== X-Gm-Message-State: ACrzQf3sgBhzpbB3oUY2tkQLjpCE+akpvUsMwv6DwXXFM28Xg+tTWaqa tLZ8yelJr2aS5wrYm56sjYAl3g== X-Google-Smtp-Source: AMsMyM6rpbgWdAk/3Xy2GJGLl8XEklyGGfQZcRak5YVinNcFNacgfqAFPAqhqUpUv+rGIUmXILt1tQ== X-Received: by 2002:a1c:a107:0:b0:3cf:a25f:eef2 with SMTP id k7-20020a1ca107000000b003cfa25feef2mr6806699wme.195.1667814514359; Mon, 07 Nov 2022 01:48:34 -0800 (PST) Received: from fomalhaut.localnet ([2a01:e0a:8d5:d990:e654:e8ff:fe8f:2ce6]) by smtp.gmail.com with ESMTPSA id bd12-20020a05600c1f0c00b003cf4eac8e80sm9251097wmb.23.2022.11.07.01.48.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Nov 2022 01:48:33 -0800 (PST) From: Eric Botcazou X-Google-Original-From: Eric Botcazou To: Richard Biener Cc: gcc-patches@gcc.gnu.org, Jakub Jelinek Subject: Re: [PATCH][RFC] tree-optimization/107389 - use __builtin_assume_alignment at -O0 Date: Mon, 07 Nov 2022 10:48:32 +0100 Message-ID: <4438871.LvFx2qVVIh@fomalhaut> In-Reply-To: <20221107090211.E59EA13494@imap2.suse-dmz.suse.de> References: <20221107090211.E59EA13494@imap2.suse-dmz.suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: > index 9778e776cf2..adb1e351e15 100644 > --- a/gcc/tree-ssa-ccp.cc > +++ b/gcc/tree-ssa-ccp.cc > @@ -4197,6 +4197,7 @@ const pass_data pass_data_fold_builtins = > TODO_update_ssa, /* todo_flags_finish */ > }; > > +template > class pass_fold_builtins : public gimple_opt_pass > { > public: > > @@ -4204,14 +4205,17 @@ public: > : gimple_opt_pass (pass_data_fold_builtins, ctxt) > > {} > > + bool gate (function *) final override { return O0 == !optimize; } O0 as suffix is fine, but please avoid using it as a standalone identifier. -- Eric Botcazou