https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64528
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Sun Feb 1 21:51:40 2015 New Revision: 220333 URL: https://gcc.gnu.org/viewcvs?rev=220333&root=gcc&view=rev Log: Backported from mainline 2015-01-13 Jakub Jelinek <ja...@redhat.com> PR fortran/64528 * trans-decl.c (create_function_arglist): Don't set TREE_READONLY on dummy args with VALUE attribute. * gfortran.dg/pr64528.f90: New test. Added: branches/gcc-4_8-branch/gcc/testsuite/gfortran.dg/pr64528.f90 Modified: branches/gcc-4_8-branch/gcc/fortran/ChangeLog branches/gcc-4_8-branch/gcc/fortran/trans-decl.c branches/gcc-4_8-branch/gcc/testsuite/ChangeLog