[Bug bootstrap/69885] [6 Regression] ICE in maybe_legitimize_operand, at optabs.c:6903 on m68k-linux-gnu

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 30 12:29:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69885

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Mar 30 12:28:24 2016
New Revision: 234548

URL: https://gcc.gnu.org/viewcvs?rev=234548&root=gcc&view=rev
Log:
        Backported from mainline
        2016-02-22  Jakub Jelinek  <jakub@redhat.com>

        PR target/69885
        * gcc.dg/pr69885.c: New test.

        2016-02-16  Jakub Jelinek  <jakub@redhat.com>

        PR rtl-optimization/69764
        PR rtl-optimization/69771
        * optabs.c (expand_binop): Ensure for shift optabs invalid CONST_INT
        op1 is valid for GET_MODE_INNER (mode) and force it into a reg.

        2016-02-12  Jakub Jelinek  <jakub@redhat.com>

        PR rtl-optimization/69764
        PR rtl-optimization/69771
        * optabs.c (expand_binop_directly): For shift_optab_p, force
        convert_modes with VOIDmode if xop1 has VOIDmode.

        * c-c++-common/pr69764.c: New test.
        * gcc.dg/torture/pr69771.c: New test.

Added:
    branches/gcc-5-branch/gcc/testsuite/c-c++-common/pr69764.c
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr69885.c
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/pr69771.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/optabs.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list