OSDN Git Service

2009-11-30 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Nov 2009 10:39:36 +0000 (10:39 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Nov 2009 10:39:36 +0000 (10:39 +0000)
commitc5075621cead05f7caadcdce311e5df903faf602
tree70e5c4b5c8abb762105af6b9e0ae79b0bd32f9c8
parent52dbd89398d14bf94439efc104c3551b2398016a
2009-11-30  Richard Guenther  <rguenther@suse.de>

PR middle-end/42119
PR fortran/38530
* expr.c (expand_expr_addr_expr_1): Properly expand the initializer
of CONST_DECLs.

* gfortran.dg/pr42119.f90: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154778 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr42119.f90 [new file with mode: 0644]