This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix expand_assignment ICE with CONCAT target (PR middle-end/85878)
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Richard Biener <rguenther at suse dot de>, Jeff Law <law at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 15 Jun 2018 22:31:21 +0200
- Subject: Re: [PATCH] Fix expand_assignment ICE with CONCAT target (PR middle-end/85878)
- References: <20180615191627.GH7166@tucnak>
> 2018-06-15 Jakub Jelinek <jakub@redhat.com>
>
> PR middle-end/85878
> * expr.c (expand_assignment): Remove now redundant COMPLEX_MODE_P
> check from first store_expr, use to_mode instead of GET_MODE (to_rtx).
> Only call store_expr for halves if the mode is the same.
>
> * gfortran.fortran-torture/compile/pr85878.f90: New test.
OK, thanks.
--
Eric Botcazou