This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/11587] New: SH ICE in reload_cse_simplify_operand, postreload.c


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11587

           Summary: SH ICE in reload_cse_simplify_operand, postreload.c
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: eager at mvista dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux
  GCC host triplet: i686-pc-linux
GCC target triplet: sh4-hardhat-linux

ICE in reload_cse_simplify_operands, at postreload.c:378

tst.c:22: error: insn does not satisfy its constraints:
(insn 90 89 63 7 (set (reg:SI 65 fr1 [orig:158 <result> ] [158])
        (reg:SI 147 t)) 123 {movsi_ie} (insn_list 89 (nil))
    (nil))
tst.c:22: internal compiler error: in reload_cse_simplify_operands, at
postreload.c:378

tst.c:
int foo1(void);
int foo2();
int foo3();

static int goo()
        {
        int i;

        if (i <= 0) return i;

        if (foo1() > 1)
                {
                i = foo2();
                if (i < 0) return i;
                if (i)
                        {
                        if (foo3()) return 1;
                        return 0;
                        }
                }

        }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]