Fortran: fix memory leak with real to integer conversion warning
authorHarald Anlauf <anlauf@gmx.de>
Sat, 25 Feb 2023 18:05:38 +0000 (19:05 +0100)
committerHarald Anlauf <anlauf@gmx.de>
Sat, 25 Feb 2023 18:05:38 +0000 (19:05 +0100)
commit03c60e525bea13c15edd2f64cd582f168fe80bfb
tree154e88fed42d564b99781e3039681c1e333f8008
parent05652ac4e8b8685fe0c0f4ee2f75516d28bbf892
Fortran: fix memory leak with real to integer conversion warning

gcc/fortran/ChangeLog:

* arith.cc (gfc_real2int): Clear mpfr variable after use.
gcc/fortran/arith.cc