re PR middle-end/91605 (ICE in ix86_avx256_split_vector_move_misalign, at config...
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 2 Sep 2019 14:26:26 +0000 (14:26 +0000)
committerBernd Edlinger <edlinger@gcc.gnu.org>
Mon, 2 Sep 2019 14:26:26 +0000 (14:26 +0000)
commitb82c2e6fce74a6283fb3efd195d62aa6a88ef561
tree157afd06706fd7ef200f5ca7a90bb55cb2d5e641
parent1525fa83cc704ba18738eb2eab76a7f4d6bfde6b
re PR middle-end/91605 (ICE in ix86_avx256_split_vector_move_misalign, at config/i386/i386-expand.c:489 since r274986)

2019-09-02  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR middle-end/91605
        * expr.c (addr_expr_of_non_mem_decl_p_1): Refactor into...
        (non_mem_decl_p): ...this.
        (mem_ref_refers_to_non_mem_p): Handle DECL_P as well ase MEM_REF.
        (expand_assignment): Call mem_ref_referes_to_non_mem_p
        unconditionally as before.

testsuite:
2019-09-02  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR middle-end/91605
        * g++.target/i386/pr91605.C: New test.

From-SVN: r275320
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.target/i386/pr91605.C [new file with mode: 0644]