diff options
author | John Naylor | 2025-04-01 05:01:58 +0000 |
---|---|---|
committer | John Naylor | 2025-04-01 05:01:58 +0000 |
commit | af0c248557aecb335462d980cb7319bdf85a5c66 (patch) | |
tree | 485a2fe57e46f881f0d965222e2d665c7e89ba88 /src/backend/commands/constraint.c | |
parent | 3dbdf86c6364d6b8470fa4067096062cea62405a (diff) |
Use function attributes for SSE 4.2 even when targeting that extension
On Red Hat 9 systems (or similar), the packaged gcc targets x86-64-v2,
but clang does not. This has caused build failures in the wake of
commit e2809e3a1 when building --with-llvm.
The most expedient fix is to use the same function attributes for
the inlined function as we do for the global function.
Reported-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com> (plus members skimmer and bumblebee)
Diagnosed-by: Tom Lane <tgl@sss.pgh.pa.us>
Tested-by: Todd Cook <cookt@blackduck.com>
Discussion: https://postgr.es/m/CANWCAZZSxs3a1YRKehkgk2OHKbrVn+xZ+AWW8Co2R_f70NqqmA@mail.gmail.com
Diffstat (limited to 'src/backend/commands/constraint.c')
0 files changed, 0 insertions, 0 deletions