https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99545
--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Paul Thomas <pa...@gcc.gnu.org>: https://gcc.gnu.org/g:21ced2776a117924e52f6aab8b41afb613fef0e7 commit r11-7666-g21ced2776a117924e52f6aab8b41afb613fef0e7 Author: Paul Thomas <pa...@gcc.gnu.org> Date: Mon Mar 15 09:32:52 2021 +0000 Fortran: Fix problem with allocate initialization [PR99545]. 2021-03-15 Paul Thomas <pa...@gcc.gnu.org> gcc/fortran/ChangeLog PR fortran/99545 * trans-stmt.c (gfc_trans_allocate): Mark the initialization assignment by setting init_flag. gcc/testsuite/ChangeLog PR fortran/99545 * gfortran.dg/pr99545.f90: New test.