forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7233099
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 parent8acdb8b commit7233099
1 file changed
+17
-0
lines changedLines changed: 17 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
590 | 590 |
| |
591 | 591 |
| |
592 | 592 |
| |
| 593 | + | |
593 | 594 |
| |
594 | 595 |
| |
595 | 596 |
| |
| 597 | + | |
| 598 | + | |
| 599 | + | |
596 | 600 |
| |
597 | 601 |
| |
598 | 602 |
| |
| |||
637 | 641 |
| |
638 | 642 |
| |
639 | 643 |
| |
| 644 | + | |
640 | 645 |
| |
641 | 646 |
| |
642 | 647 |
| |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
643 | 652 |
| |
644 | 653 |
| |
645 | 654 |
| |
| |||
813 | 822 |
| |
814 | 823 |
| |
815 | 824 |
| |
| 825 | + | |
816 | 826 |
| |
817 | 827 |
| |
818 | 828 |
| |
| 829 | + | |
| 830 | + | |
| 831 | + | |
819 | 832 |
| |
820 | 833 |
| |
821 | 834 |
| |
| |||
997 | 1010 |
| |
998 | 1011 |
| |
999 | 1012 |
| |
| 1013 | + | |
1000 | 1014 |
| |
1001 | 1015 |
| |
1002 | 1016 |
| |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
1003 | 1020 |
| |
1004 | 1021 |
| |
1005 | 1022 |
| |
|
0 commit comments
Comments
(0)