re PR fortran/70937 (ICE: tree code ‘ssa_name’ is not supported in LTO streams)
authorRichard Biener <rguenther@suse.de>
Mon, 9 May 2016 07:42:45 +0000 (07:42 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 9 May 2016 07:42:45 +0000 (07:42 +0000)
commit7a27d38f4e63f2bbfebe046be2d7097d11b24e50
treeb8a8c041c76eadbdb6ce259e32a4d7d0b648c2e2
parente6dffc988a5d7ce5b375ec96d2d1b95f775e0ec6
re PR fortran/70937 (ICE: tree code ‘ssa_name’ is not supported in LTO streams)

2016-05-09  Richard Biener  <rguenther@suse.de>

PR fortran/70937
* trans-decl.c: Include gimplify.h for unshare_expr.
(gfc_trans_vla_one_sizepos): Unshare exprs before inserting
them into the IL.

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

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