Re: int8.c compile problem on UnixWare 7.x

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Billy G(dot) Allie" <Bill(dot)Allie(at)mug(dot)org>
Cc: pgsql-patches(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: int8.c compile problem on UnixWare 7.x
Date: 2000-04-01 08:10:03
Message-ID: 200004010810.DAA16257@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

-- Start of PGP signed section.
> It appears that some code in backend/utils/adt/int8.c tickles a compiler bug
> in SCO's UDK when it is compiled with optimazation turned on. The attached
> patch, which rewrites a for statement as a while statement corrects the
> problem.
Content-Description: uw7-20000331.patch

I am sorry Billy but the new code is much harder to understand than the
original, so I am not inclined to change it based on a compiler bug, for
which SCO is so famous.

If you wish to submit a patch that removes optimization from the
Makefile for the file or entire directory under SCO, I will consider it.
And I would document the change so we can remove it later.

--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message werner 2000-04-01 19:31:50 --enable-locale doesn't work
Previous Message The Hermit Hacker 2000-04-01 01:47:38 [6.5.3] further investigation ...