On 2015-02-12 18:16:37 -0500, Tom Lane wrote:
> I wrote:
> > Christoph Berg <cb@df7cb.de> writes:
> >> gcc5 is lurking in Debian experimental, and it's breaking initdb.
>
> > Yeah, I just heard the same about Red Hat as well:
> > https://bugzilla.redhat.com/show_bug.cgi?id=1190978
> > Not clear if it's an outright compiler bug or they've just found some
> > creative new way to make an optimization assumption we're violating.
>
> Apparently, it's the former. See
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1190978#c3
>
> I will be unamused if the gcc boys try to make an argument that they
> did some valid optimization here.
Fixed in gcc upstream https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65053
Greetings,
Andres Freund
-- Andres Freund http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services