https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97581
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:667db6dedd80487663c29b21efa942f661b569a8 commit r11-4579-g667db6dedd80487663c29b21efa942f661b569a8 Author: Harald Anlauf <anl...@gmx.de> Date: Fri Oct 30 20:49:32 2020 +0100 PR libfortran/97581 - clean up size calculation of random generator state The random number generator internal state may be saved to/restored from an array of integers. Clean up calculation of needed number of elements to avoid redefiniton of auxiliary macro SZ. libgfortran/ChangeLog: * intrinsics/random.c (SZ_IN_INT_4): Define size of state in int32_t. (SZ_IN_INT_8): Define size of state in int64_t. (SZ): Remove. (random_seed_i4): Use size SZ_IN_INT_4 instead of SZ. (random_seed_i8): Use size SZ_IN_INT_8 instead of SZ.