Revise overflow test in int84() to avoid codegen bug in some older

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 0fc7779d2e0656c345227ac323af4d6a8af8aceb
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-09-07T01:33:44Z
Releases: 7.2.1
Revise overflow test in int84() to avoid codegen bug in some older
versions of gcc.  We don't really need to explicitly test the limits
anyway, just reverse-convert and see if we get the same answer.

Files

PathChange+/−
src/backend/utils/adt/int8.c modified +6 −5