Try harder to detect unavailability of __builtin_mul_overflow(int64).

Tom Lane <tgl@sss.pgh.pa.us>

Commit: c6d21d56f1a92b4762a22cbbb694b1e853165e70
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-12-17T16:52:22Z
Releases: 11.0
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

Files

PathChange+/−
config/c-compiler.m4 modified +9 −8
configure modified +5 −4

Discussion