Fortran: call of overloaded ‘abs(long long int&)’ is ambiguous [PR109492]
authorHarald Anlauf <anlauf@gmx.de>
Thu, 13 Apr 2023 20:42:23 +0000 (22:42 +0200)
committerHarald Anlauf <anlauf@gmx.de>
Thu, 13 Apr 2023 20:42:23 +0000 (22:42 +0200)
commit43816633afd275a9057232a6ebfdc19e441f09ec
tree1be51eac455bf3e9632e991c9196fca644d2c50b
parent50dc52e853ff267ad1f4c98571c262017b0536f8
Fortran: call of overloaded ‘abs(long long int&)’ is ambiguous [PR109492]

gcc/fortran/ChangeLog:

PR fortran/109492
* trans-expr.cc (gfc_conv_power_op): Use absu_hwi and
unsigned HOST_WIDE_INT for portability.
gcc/fortran/trans-expr.cc