From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.devel Subject: Re: Suspicious warning in W64 build Date: Sat, 16 Sep 2017 19:57:06 +0100 Message-ID: References: <1017454172.910810.1504618695244@mail.libero.it> <102a4c21-c275-c73e-ec53-0d85975dc968@cs.ucla.edu> <83a825znuf.fsf@gnu.org> <831snhzkgw.fsf@gnu.org> <837ex9x7vf.fsf@gnu.org> <83tw0cwcle.fsf@gnu.org> <83h8wcw3td.fsf@gnu.org> <83377vx3d0.fsf@gnu.org> <83ingnq01t.fsf@gnu.org> <83fubrpxsv.fsf@gnu.org> <83r2v9masw.fsf@gnu.org> <86a81xrndl.fsf@gmail.com> <83a81wmijy.fsf@gnu.org> <86mv5ulr50.fsf@gmail.com> <83y3pekb80.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1505588430 22659 195.159.176.226 (16 Sep 2017 19:00:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 16 Sep 2017 19:00:30 +0000 (UTC) Cc: Fabrice Popineau , Andy Moreton , Emacs Development To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 16 21:00:18 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dtIK8-0005ax-Dt for ged-emacs-devel@m.gmane.org; Sat, 16 Sep 2017 21:00:16 +0200 Original-Received: from localhost ([::1]:58335 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dtIKD-0003GA-BS for ged-emacs-devel@m.gmane.org; Sat, 16 Sep 2017 15:00:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dtIHc-0001eJ-3S for emacs-devel@gnu.org; Sat, 16 Sep 2017 14:57:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dtIHb-000456-6o for emacs-devel@gnu.org; Sat, 16 Sep 2017 14:57:40 -0400 Original-Received: from mail-vk0-x230.google.com ([2607:f8b0:400c:c05::230]:44070) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dtIHZ-000424-Gq; Sat, 16 Sep 2017 14:57:37 -0400 Original-Received: by mail-vk0-x230.google.com with SMTP id o22so2268749vke.1; Sat, 16 Sep 2017 11:57:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Nb5AV5OpoIpo6dAQK5Llr31dl2kcNp+gQUO14odxgmw=; b=YKQiYn1XeR7RIHtzcvEAL3HSpa7Ib4HlxtEAhjMyXWx8iKHgIqXFC5bcGeSNHDk91c vcalUai1vqkE8RemZyndV8WD9e2X0oeiN03MawoUNvRYWsKG8DbRQYIYBB7zBslL/KC+ vJ0IftSIfYwgFv8fKUNOlLz9g3pxUhpF4p09g8hFgjDPsycQ0ftHhiEpriI0dlq1iWJa pSg/BXpdvuDHwIA0XVXd2viho9hZRPotLdyeAlAGsNK8EYyrF+M4DzxxDgPcySP3ABKK 0GFtj0MOL4YMmICANZNDTv4UQfMgvoClEowDxSDi/QGxsku070D9uG9st09I8t/6gv7X zGiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Nb5AV5OpoIpo6dAQK5Llr31dl2kcNp+gQUO14odxgmw=; b=nhO88Akfctg4WZRqFQ929KqDs5aiGiaA+V7BxOCDGmtlTkpLsCVLnTsGJeWh88S5Ci +21fvmIYUT0Ee+MRxfSCl5fZwH+T1GlkwlWLtrGB7YHeNNz+l6qIy8CcKr0cU+KNQIT6 ukVzDQnvbC8Rhb3mEPZce/ud00Kqr2Ydpb6R4DTduIk7k1vO5Oi7MW9x40Z1kzWljYBD b6+Ff58io2hc0mhoEgwbYX6I69L9KR+PeEylx77RJInswVJJuJuARDL6b1O6+UZ8ZARk uHXi9sAZQkQ++jx9L9lxSl4AKtM+OQavBS6eDUKVa9UM3lMWI8JApGOROh4ygaIcrGRX IY7A== X-Gm-Message-State: AHPjjUjXj2AeG9p43BGq/omCSvYePafsZ5YSyZZV1WnTPEfnr4Me14jE jGBRclNmDXB5gAcSA0KsEyk3Ur5a+ksWUQpENaXwlg== X-Google-Smtp-Source: AOwi7QCgQieQB6ghJQ5llR+so8gcjoPDvkE3rFw0mqUkiXdjZyR0jHndSPrFjvaH99sfCzngURnrooeQZk2AcSvEMuQ= X-Received: by 10.31.76.132 with SMTP id z126mr22319331vka.131.1505588256579; Sat, 16 Sep 2017 11:57:36 -0700 (PDT) Original-Received: by 10.159.41.102 with HTTP; Sat, 16 Sep 2017 11:57:06 -0700 (PDT) In-Reply-To: <83y3pekb80.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400c:c05::230 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:218375 Archived-At: On 16 September 2017 at 08:45, Eli Zaretskii wrote: >> From: Fabrice Popineau >> Date: Fri, 15 Sep 2017 23:02:45 +0200 >> Cc: Andy Moreton , Emacs developers >> >> Remaining warnings : [...] Bravo Eli. For reference these are the remaining C warnings I get at -O3. make[1]: Entering directory '/c/projects/emacs/lib-src' CCLD etags.exe etags.c: In function 'process_file_name': etags.c:7076:20: warning: null pointer dereference [-Wnull-dereference] for (p = templt; *p; p++) ^~ make[1]: Leaving directory '/c/projects/emacs/lib-src' make[1]: Entering directory '/c/projects/emacs/lib-src' CCLD ctags.exe In file included from ctags.c:2:0: etags.c: In function 'process_file_name': etags.c:7076:20: warning: null pointer dereference [-Wnull-dereference] for (p = templt; *p; p++) ^~ make[1]: Leaving directory '/c/projects/emacs/lib-src' make[1]: Entering directory '/c/projects/emacs/src' CC indent.o indent.c: In function 'scan_for_column': indent.c:69:10: warning: potential null pointer dereference [-Wnull-dereference] return 0; ^ indent.c:69:10: warning: potential null pointer dereference [-Wnull-dereference] indent.c:69:10: warning: potential null pointer dereference [-Wnull-dereference] indent.c:69:10: warning: potential null pointer dereference [-Wnull-dereference] make[1]: Leaving directory '/c/projects/emacs/src' make[1]: Entering directory '/c/projects/emacs/src' CC search.o search.c: In function 'Freplace_match': search.c:2621:15: warning: argument 1 value '2305843009213693951' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] substed = xmalloc (substed_alloc_size); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from search.c:24:0: lisp.h:4440:14: note: in a call to allocation function 'xmalloc' declared here extern void *xmalloc (size_t) ATTRIBUTE_MALLOC_SIZE ((1)); ^~~~~~~ make[1]: Leaving directory '/c/projects/emacs/src' make[1]: Entering directory '/c/projects/emacs/src' CC eval.o eval.c: In function 'internal_catch': eval.c:1431:19: warning: variable 'c' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] struct handler *c = handlerlist->nextfree; ^ eval.c: In function 'internal_condition_case': eval.c:1431:19: warning: variable 'c' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] eval.c: In function 'internal_condition_case_1': eval.c:1431:19: warning: variable 'c' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] eval.c: In function 'internal_condition_case_2': eval.c:1431:19: warning: variable 'c' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] eval.c: In function 'internal_condition_case_n': eval.c:1431:19: warning: variable 'c' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] eval.c: In function 'internal_catch.constprop': eval.c:1431:19: warning: variable 'c' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] make[1]: Leaving directory '/c/projects/emacs/src'