]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR middle-end/85878 (ICE in convert_mode_scalar, at expr.c:287)
authorJakub Jelinek <jakub@redhat.com>
Fri, 22 Jun 2018 21:30:06 +0000 (23:30 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 22 Jun 2018 21:30:06 +0000 (23:30 +0200)
commit3765c86f5c5231a4285fdf130beed245778fe99f
tree7630416a1004f3d4678bf53107868b79aeded0f7
parenteb989a7c141aaba0926bec114cc3f80b449fea63
backport: re PR middle-end/85878 (ICE in convert_mode_scalar, at expr.c:287)

Backported from mainline
2018-06-15  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/85878
* expr.c (expand_assignment): Only call store_expr for halves if the
mode is the same.

* gfortran.fortran-torture/compile/pr85878.f90: New test.

From-SVN: r261968
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.fortran-torture/compile/pr85878.f90 [new file with mode: 0644]