]> granicus.if.org Git - postgresql/commit
Try harder to detect unavailability of __builtin_mul_overflow(int64).
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 17 Dec 2017 16:52:22 +0000 (11:52 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 17 Dec 2017 16:52:22 +0000 (11:52 -0500)
commitc6d21d56f1a92b4762a22cbbb694b1e853165e70
tree4b396044c077e3d9a9cdf6117aea50ac732da494
parentb31a9d7dd3bf8435fddf404c4b75236d0ea76d78
Try harder to detect unavailability of __builtin_mul_overflow(int64).

Commit c04d35f44 didn't quite do the job here, because it still allowed
the compiler to deduce that the function call could be optimized away.
Prevent that by putting the arguments and results in global variables.

Discussion: https://postgr.es/m/20171213213754.pydkyjs6bt2hvsdb@alap3.anarazel.de
config/c-compiler.m4
configure