https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64528
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Jan 14 20:22:47 2015 New Revision: 219613 URL: https://gcc.gnu.org/viewcvs?rev=219613&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_9-branch/gcc/testsuite/gfortran.dg/pr64528.f90 Modified: branches/gcc-4_9-branch/gcc/fortran/ChangeLog branches/gcc-4_9-branch/gcc/fortran/trans-decl.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog