[Bug middle-end/85878] [6/7 Regression] ICE in convert_mode_scalar, at expr.c:287
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 25 17:53:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85878
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jun 25 17:53:06 2018
New Revision: 262100
URL: https://gcc.gnu.org/viewcvs?rev=262100&root=gcc&view=rev
Log:
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.
Added:
branches/gcc-6-branch/gcc/testsuite/gfortran.fortran-torture/compile/pr85878.f90
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/expr.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list