From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 38972 invoked by alias); 5 Dec 2019 08:01:08 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 38659 invoked by uid 89); 5 Dec 2019 08:00:50 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=H*r:ip*192.168.1.103 X-HELO: mail-qk1-f170.google.com Received: from mail-qk1-f170.google.com (HELO mail-qk1-f170.google.com) (209.85.222.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 05 Dec 2019 08:00:48 +0000 Received: by mail-qk1-f170.google.com with SMTP id q28so2547370qkn.10 for ; Thu, 05 Dec 2019 00:00:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=OY5ngA7+rbHZD+YtJa89wY1PK7aifD6enYXS6pnf3oM=; b=iVhVUwXcZMbsXOq/yTvfXV32ZXusqDczmmu0pUBl12Lj8s53u38nsD8VwbYmsZcYhR yjqnjiGxeJiiT6YDqafadxVaEUDBZ20d4NPZwF2yNR4Bf8uBd9glQ4Xz08WZRvwUXy4c 2iKfTR/nIRQLtrbvxCf9vi77wqvm59hBBAB8KNFnNvEoRymt0uMxoMXtMTGnYEtfwRWr pbOOZ1B75WKmCDOIjWlCtvZDS2U8RFVkSTUVw/aUMLQnRFNdpy6jA3qWXei0+AGj2D7g BLb6lfpYg3JPOb/4KeTDhH0BB8JZyEa48rbprYMftdX/EIU+GAJi2tw4zFF+ih9MvyIo T3vQ== Return-Path: Received: from [192.168.1.103] (173-230-163-230.cable.teksavvy.com. [173.230.163.230]) by smtp.gmail.com with ESMTPSA id m8sm4869000qti.91.2019.12.05.00.00.37 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Dec 2019 00:00:37 -0800 (PST) To: gcc Mailing List From: Nicholas Krause Subject: Possible Bugs in cgraphunit.c Message-ID: <39c77161-074b-c424-af0a-a17351658622@gmail.com> Date: Thu, 05 Dec 2019 08:01:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-12/txt/msg00050.txt.bz2 Greetings, Seems that the extend_trucks return values are not returned when called in both, cnode::assemble_thunks_and_aliases and cnode::create_wrapper. I'm not sure if this is a set of edge case bugs or there was a reason for this. Seems not as its checked in the third function caller in the file, cgraph_node::analyze. Not sure if my assumptions are correct so I'm asking if there isn't another reason for this as the code seems to have at least directly no reason for it, Nick