diff options
author | Noah Misch <noah@leadboat.com> | 2019-10-18 20:20:28 -0700 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2019-10-18 20:20:31 -0700 |
commit | ef13f914e6c2a66f186f73ec1bba682e56dc621b (patch) | |
tree | 3f8a3704b071255fee499c588480660a7b278ac9 /src/interfaces/libpq/fe-connect.c | |
parent | 9dfbf9a04398f8b9332d95e49037c530c4dda827 (diff) | |
download | postgresql-ef13f914e6c2a66f186f73ec1bba682e56dc621b.tar.gz postgresql-ef13f914e6c2a66f186f73ec1bba682e56dc621b.zip |
For PowerPC instruction "addi", use constraint "b".
Without "b", a variant of the tas() code miscompiles on macOS 10.4.
This may also fix a compilation failure involving macOS 10.1. Today's
compilers have been allocating acceptable registers with or without this
change, but this future-proofs the code by precisely conveying the
acceptable registers. Back-patch to 9.4 (all supported versions).
Reviewed by Tom Lane.
Discussion: https://postgr.es/m/20191009063900.GA4066266@rfd.leadboat.com
Diffstat (limited to 'src/interfaces/libpq/fe-connect.c')
0 files changed, 0 insertions, 0 deletions