re PR fortran/64528 (ICE: in process_constraint, at tree-ssa-structalias.c:3002 with...
authorJakub Jelinek <jakub@redhat.com>
Tue, 13 Jan 2015 16:42:22 +0000 (17:42 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 13 Jan 2015 16:42:22 +0000 (17:42 +0100)
commit31ec353514ba83c83b81e053f161256339c7e9f6
tree325997f6b908fd83cb6acbaead844b00b653e780
parenteaabbb005fca70ef46bff0cd83bcadcf7de6fcd9
re PR fortran/64528 (ICE: in process_constraint, at tree-ssa-structalias.c:3002 with -O -fno-tree-ccp -fno-tree-dce)

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.

From-SVN: r219543
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr64528.f90 [new file with mode: 0644]