From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28019 invoked by alias); 30 May 2016 00:30:48 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 27991 invoked by uid 89); 30 May 2016 00:30:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Kleen, sk:ak@linu, D*linux.intel.com, ICEs X-HELO: atrey.karlin.mff.cuni.cz Received: from atrey.karlin.mff.cuni.cz (HELO atrey.karlin.mff.cuni.cz) (195.113.26.193) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 30 May 2016 00:30:36 +0000 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 4018) id E4CB9823DB; Mon, 30 May 2016 02:30:33 +0200 (CEST) Date: Mon, 30 May 2016 08:49:00 -0000 From: Jan Hubicka To: Andi Kleen Cc: gcc-patches@gcc.gnu.org, Andi Kleen Subject: Re: [PATCH 2/5] Don't cause ICEs when auto profile file is not found with checking Message-ID: <20160530003033.GA7778@atrey.karlin.mff.cuni.cz> References: <1463848586-19259-1-git-send-email-andi@firstfloor.org> <1463848586-19259-2-git-send-email-andi@firstfloor.org> <1463848586-19259-3-git-send-email-andi@firstfloor.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1463848586-19259-3-git-send-email-andi@firstfloor.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2016-05/txt/msg02308.txt.bz2 > From: Andi Kleen > > Currently, on a checking enabled compiler when -fauto-profile does > not find the profile feedback file it errors out with assertation > failures. Add proper errors for this case. > > gcc/: > > 2016-05-21 Andi Kleen > > * auto-profile.c (read_profile): Replace asserts with errors > when file does not exist. > * gcov-io.c (gcov_read_words): Dito. OK, thanks! Honza