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:32 -0700 |
commit | af4477b00cf93c8305aebe3b58ea26499664336e (patch) | |
tree | 973ddd63166394cbe30c256cebe7726d0f9791cb /src/backend/utils/adt/xml.c | |
parent | f7b70700bc44d4a7e5de143c6906e2421dd0c709 (diff) | |
download | postgresql-af4477b00cf93c8305aebe3b58ea26499664336e.tar.gz postgresql-af4477b00cf93c8305aebe3b58ea26499664336e.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/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions