Commit fc96a5f
committed
Blind try to fix portability issue in commit 8f93bd8 et al.
The S/390 members of the buildfarm are showing failures indicating
that they're having trouble with the rint() calls I added yesterday.
There's no good reason for that, and I wonder if it is a compiler bug
similar to the one we worked around in d9476b8. Try to fix it using
the same method as before, namely to store the result of rint() back
into a "double" variable rather than immediately converting to int64.
(This isn't entirely waving a dead chicken, since on machines with
wider-than-double float registers, the extra store forces a width
conversion. I don't know if S/390 is like that, but it seems worth
trying.)
In passing, merge duplicate ereport() calls in float8_timestamptz().
Per buildfarm.1 parent 404756f commit fc96a5f
1 file changed
+6
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
764 | 764 | | |
765 | 765 | | |
766 | 766 | | |
767 | | - | |
768 | | - | |
769 | | - | |
770 | | - | |
771 | | - | |
772 | | - | |
| 767 | + | |
| 768 | + | |
773 | 769 | | |
774 | 770 | | |
775 | 771 | | |
| |||
779 | 775 | | |
780 | 776 | | |
781 | 777 | | |
782 | | - | |
| 778 | + | |
| 779 | + | |
783 | 780 | | |
784 | 781 | | |
785 | 782 | | |
| |||
1615 | 1612 | | |
1616 | 1613 | | |
1617 | 1614 | | |
| 1615 | + | |
1618 | 1616 | | |
1619 | 1617 | | |
1620 | | - | |
| 1618 | + | |
1621 | 1619 | | |
1622 | 1620 | | |
1623 | 1621 | | |
| |||
0 commit comments