forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit89b4d77
committed
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'scompilers have been allocating acceptable registers with or without thischange, but this future-proofs the code by precisely conveying theacceptable registers. Back-patch to 9.4 (all supported versions).Reviewed by Tom Lane.Discussion:https://postgr.es/m/20191009063900.GA4066266@rfd.leadboat.com1 parentf25968c commit89b4d77
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
452 | 452 |
| |
453 | 453 |
| |
454 | 454 |
| |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
455 | 460 |
| |
456 | 461 |
| |
457 | 462 |
| |
| |||
488 | 493 |
| |
489 | 494 |
| |
490 | 495 |
| |
491 |
| - | |
| 496 | + | |
492 | 497 |
| |
493 | 498 |
| |
494 | 499 |
| |
|
0 commit comments
Comments
(0)