From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 4CC9D3858C56 for ; Mon, 28 Mar 2022 13:22:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4CC9D3858C56 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-288-Ex0TSBBZPH2OP_2jajFeTQ-1; Mon, 28 Mar 2022 09:21:58 -0400 X-MC-Unique: Ex0TSBBZPH2OP_2jajFeTQ-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C99933C174FB; Mon, 28 Mar 2022 13:21:49 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.192.15]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8A072401E64; Mon, 28 Mar 2022 13:21:49 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.16.1/8.16.1) with ESMTPS id 22SDLaXH3605627 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Mon, 28 Mar 2022 15:21:36 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.16.1/8.16.1/Submit) id 22SDLP9A3605625; Mon, 28 Mar 2022 15:21:25 +0200 Date: Mon, 28 Mar 2022 15:21:25 +0200 From: Jakub Jelinek To: Richard Biener Cc: gcc-patches@gcc.gnu.org, msebor@redhat.com Subject: Re: [PATCH] tree-optimization/105080 - make sure SCEV is available for ranger Message-ID: Reply-To: Jakub Jelinek References: <20220328131625.05BFC13215@imap2.suse-dmz.suse.de> MIME-Version: 1.0 In-Reply-To: <20220328131625.05BFC13215@imap2.suse-dmz.suse.de> X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2022 13:22:03 -0000 On Mon, Mar 28, 2022 at 03:16:24PM +0200, Richard Biener wrote: > When doing format diagnostics at -O0 we should make sure to make > SCEV available to avoid false positives due to ranges we otherwise > can trivially compute. > > Bootstrap and regtest running on x86_64-unknown-linux-gnu. > > OK if that succeeds? Doesn't this slow down -O0 compilation too much? > 2022-03-28 Richard Biener > > PR tree-optimization/105080 > * tree-ssa-strlen.cc (printf_strlen_execute): Always init > loops and SCEV. > > * gcc.dg/pr105080.c: New testcase. Jakub