forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit03aab82
committed
Put in some more safeguards against executing a division-by-zero.
Add dummy returns before every potential division-by-zero in int8.c,because apparently further "improvements" in gcc's optimizer haveenabled it to break functions that weren't broken before.Aurelien Jarno, via Martin Pitt1 parent2f418e8 commit03aab82
1 file changed
+17
-0
lines changedLines changed: 17 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
592 | 592 |
| |
593 | 593 |
| |
594 | 594 |
| |
| 595 | + | |
595 | 596 |
| |
596 | 597 |
| |
597 | 598 |
| |
| 599 | + | |
| 600 | + | |
| 601 | + | |
598 | 602 |
| |
599 | 603 |
| |
600 | 604 |
| |
| |||
639 | 643 |
| |
640 | 644 |
| |
641 | 645 |
| |
| 646 | + | |
642 | 647 |
| |
643 | 648 |
| |
644 | 649 |
| |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
645 | 654 |
| |
646 | 655 |
| |
647 | 656 |
| |
| |||
815 | 824 |
| |
816 | 825 |
| |
817 | 826 |
| |
| 827 | + | |
818 | 828 |
| |
819 | 829 |
| |
820 | 830 |
| |
| 831 | + | |
| 832 | + | |
| 833 | + | |
821 | 834 |
| |
822 | 835 |
| |
823 | 836 |
| |
| |||
999 | 1012 |
| |
1000 | 1013 |
| |
1001 | 1014 |
| |
| 1015 | + | |
1002 | 1016 |
| |
1003 | 1017 |
| |
1004 | 1018 |
| |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
1005 | 1022 |
| |
1006 | 1023 |
| |
1007 | 1024 |
| |
|
0 commit comments
Comments
(0)