From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 128712 invoked by alias); 12 Mar 2017 09:46:03 -0000 Mailing-List: contact overseers-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: , Sender: overseers-owner@sourceware.org Received: (qmail 128374 invoked by uid 89); 12 Mar 2017 09:45:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=HX-Received:Sun X-HELO: mail-pf0-f178.google.com Received: from mail-pf0-f178.google.com (HELO mail-pf0-f178.google.com) (209.85.192.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 12 Mar 2017 09:45:50 +0000 Received: by mail-pf0-f178.google.com with SMTP id v190so58115505pfb.1 for ; Sun, 12 Mar 2017 01:45:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=APJzH5+4j0voNzR54bMzn3AUpNNoMvHo+lb3V3+E9Io=; b=I5luRLrUNN/lIzd7DHJiWnWuNNpNXygjT49nV5d4F1e+JAbo6l24VlSxAI5rjRshV2 RfBBmWEtbksblVcx0Wm/sGRjCU98c+dVEuA9zCrpia0KM99GLSlBEIi023X64qqJMvlr GmLcy1LBArdcdcoBL0KzoEPjG8kR+tUEyT3b8P/fexSXSkfyXgWw7hT7ENwB9RhSDY2K S2YukeOkNMfshoZ8I8HX5k01zQHAQfhbJmVdZvR4PFY6dMNtSWtK2RO/C9La+G9ABvBh kLPUCLWjT94ZIPsrvHM50il+uWxqFf/prAu/Xh+80OyEgqpF6zamlSBKv4vyYKzkKlaw 5ulQ== X-Gm-Message-State: AMke39mT/iUXjsBWO+p4Q1adP6G7zYNOTglB0Ap7o6c9nduIbE/EqJAkqKu02ADwcVD6lQ== X-Received: by 10.84.137.169 with SMTP id 38mr39657788pln.125.1489311932254; Sun, 12 Mar 2017 01:45:32 -0800 (PST) Received: from [192.168.1.9] ([115.187.229.149]) by smtp.gmail.com with ESMTPSA id w29sm27642066pfi.131.2017.03.12.01.45.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 Mar 2017 01:45:31 -0800 (PST) To: overseers@gcc.gnu.org From: joris Subject: GCC bugzilla Message-ID: <7b76e9bc-5b62-ecc2-49cc-501c4740aada@gmail.com> Date: Sun, 12 Mar 2017 09:46:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2017-q1/txt/msg00117.txt.bz2 Hi, I wanted to create a user account for GCC bugzilla in order to file a bug. In case you have a place for such report, a summary is here : The diagnostic -Wmaybe-uninitialized does not print the offending line if the offending code happens inside a function-like macro GCC 7.0 snapshot 7.0.1 20170305 (experimental) macros.h: #define print_int(x) print_it("%d",(x)) code.c: #include "macros.h" extern void print_it(const char *fmt, int i); void test(void) { int unint; print_int(uninit); } gcc -c -Wall test.c In file included from test.c:1:0: test.c: In function 'test': macros.h:1:22: warning: 'uninit' is used uninitialized in this function [-Wuninitialized] #define print_int(x) print_it("%d",(x)) ^~~~~~~~ test.c:7:7: note: 'uninit' was declared here int uninit; ^~~~~~ so the offending line print_int() is not shown. Regards, Joris Wu