From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andre_Mikulec <Andre_Mikulec@Hotmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Bug: x86_64-w64-mingw32 REL_11_STABLE with features: UpdateStatisticsForTypeChange internal compiler error
Date: Wed, 05 Sep 2018 15:23:46 -0400
Message-ID: <13118.1536175426@sss.pgh.pa.us> (raw)
In-Reply-To: <1536174739741-0.post@n3.nabble.com>
References: <BYAPR15MB22160A7A3E99229734CB97BA9C020@BYAPR15MB2216.namprd15.prod.outlook.com>
<943.1536170035@sss.pgh.pa.us>
<1536174739741-0.post@n3.nabble.com>
Andre_Mikulec <Andre_Mikulec@Hotmail.com> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, Andre_Mikulec@Hotmail.com
Subject: Re: Bug: x86_64-w64-mingw32 REL_11_STABLE with features: UpdateStatisticsForTypeChange internal compiler error
In-Reply-To: <13118.1536175426@sss.pgh.pa.us>
References: <BYAPR15MB22160A7A3E99229734CB97BA9C020@BYAPR15MB2216.namprd15.prod.outlook.com> <943.1536170035@sss.pgh.pa.us> <1536174739741-0.post@n3.nabble.com> <13118.1536175426@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox