[Ada] Fix bootstrap with old GCC
authorDmitriy Anisimkov <anisimko@adacore.com>
Thu, 6 Aug 2020 05:54:48 +0000 (11:54 +0600)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 21 Oct 2020 07:22:48 +0000 (03:22 -0400)
commit3c2d338129a5c77a95b1b6d165db0ec328fb1938
treeb3f1d35ef21bed7ea6549d022a6222846838f34d
parented9a428d02a5e3cd191aec9421808c5ce8ab7db3
[Ada] Fix bootstrap with old GCC

gcc/ada/

* adaint.c (__gnat_file_time): Use regular arithmetic instead of
__builtin_*_overflow routines if GCC version 4 or less and
compiler is g++.
gcc/ada/adaint.c