Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fxdP9-0003t5-QZ for pgsql-bugs@arkaria.postgresql.org; Wed, 05 Sep 2018 19:23:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fxdP7-0002oN-FW for pgsql-bugs@arkaria.postgresql.org; Wed, 05 Sep 2018 19:23:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fxdP7-0002oG-9q for pgsql-bugs@lists.postgresql.org; Wed, 05 Sep 2018 19:23:53 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fxdP4-0004p2-K4 for pgsql-bugs@postgresql.org; Wed, 05 Sep 2018 19:23:52 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w85JNkcb013119; Wed, 5 Sep 2018 15:23:46 -0400 From: Tom Lane To: Andre_Mikulec cc: pgsql-bugs@postgresql.org Subject: Re: Bug: x86_64-w64-mingw32 REL_11_STABLE with features: UpdateStatisticsForTypeChange internal compiler error In-reply-to: <1536174739741-0.post@n3.nabble.com> References: <943.1536170035@sss.pgh.pa.us> <1536174739741-0.post@n3.nabble.com> Comments: In-reply-to Andre_Mikulec message dated "Wed, 05 Sep 2018 12:12:19 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <13117.1536175426.1@sss.pgh.pa.us> Date: Wed, 05 Sep 2018 15:23:46 -0400 Message-ID: <13118.1536175426@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andre_Mikulec writes: > It is an up-to-date compiler. Doesn't mean it has no bugs. It is in fact *telling you* it has a bug. > These people here do not think that "a missing return statement" is a good > idea. If they can convince the C standards committee, then I'll worry about their opinion. Functions returning void are not required to have return statements per the standard. Moreover, I'm pretty sure this is not the only function in PG with an empty body. I think the fact that the compiler is crashing right there is likely not related to the empty function as such, but has a lot to do with what else it has processed in the same compilation. regards, tom lane