From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 119143 invoked by alias); 31 Mar 2017 06:37:03 -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 119130 invoked by uid 89); 31 Mar 2017 06:37:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 31 Mar 2017 06:37:01 +0000 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9333BC04BD38 for ; Fri, 31 Mar 2017 06:37:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 9333BC04BD38 Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=jakub@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 9333BC04BD38 Received: from tucnak.zalov.cz (ovpn-116-72.ams2.redhat.com [10.36.116.72]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1E65C17C20; Fri, 31 Mar 2017 06:37:00 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id v2V6awZJ002459; Fri, 31 Mar 2017 08:36:59 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id v2V6awiV002458; Fri, 31 Mar 2017 08:36:58 +0200 Date: Fri, 31 Mar 2017 08:34:00 -0000 From: Jakub Jelinek To: Jason Merrill Cc: gcc-patches@gcc.gnu.org Subject: Patch ping Message-ID: <20170331063658.GA17462@tucnak> Reply-To: Jakub Jelinek MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.7.1 (2016-10-04) X-IsSubscribed: yes X-SW-Source: 2017-03/txt/msg01549.txt.bz2 Hi! I'd like to ping two patches: PR c++/79572 - ubsan instrumentation of reference binding to NULL if the reference is folded into INTEGER_CST with REFERENCE_TYPE http://gcc.gnu.org/ml/gcc-patches/2017-03/msg01255.html PR debug/79255 - dwarf2out profiledbootstrap ICE while building gnat; either the posted patch http://gcc.gnu.org/ml/gcc-patches/2017-03/msg01257.html or in gen_decl_die: case FUNCTION_DECL: + /* decl is NULL only if when processing a function declaration in + BLOCK_NONLOCALIZED_VARS. It is a normal declaration, not an + abstract copy of something, so make sure we don't handle it + like function inlined into something. */ + if (decl == NULL_TREE) + { + decl = origin; + origin = NULL_TREE; + } or something else (another possibility is to replace all decl uses in case FUNCTION_DECL with decl_or_origin and - if (!origin) - origin = decl_class_context (decl); + if (!decl || !origin) + origin = decl_class_context (decl_or_origin); )? Jakub