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



             Bug #: 55130

           Summary: [4.8 Regression] ICE in insn_rhs_dead_pseudo_p, at

                    lra-constraints.c:3224

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: middle-end

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: d.g.gorbac...@gmail.com





GCC 4.8.0 20121028 (experimental).



cat > bug.c

extern void bar(long long);



int foo(long long a, char b, long long c, long long d)

{

  if (c == 0)

    c = d;



  bar(b + c);



  return a == d;

}

^D

$ gcc -O1 -mregparm=3 -mpreferred-stack-boundary=2 -S bug.c

bug.c: In function 'foo':

bug.c:11:1: internal compiler error: in insn_rhs_dead_pseudo_p, at

lra-constraints.c:3224

 }

 ^

0x84c80c9 insn_rhs_dead_pseudo_p

    ../../gcc-4.8/gcc/lra-constraints.c:3224

0x84c810c init_insn_rhs_dead_pseudo_p

    ../../gcc-4.8/gcc/lra-constraints.c:3240

0x84ce811 lra_constraints(bool)

    ../../gcc-4.8/gcc/lra-constraints.c:3301

0x84c306e lra(_IO_FILE*)

    ../../gcc-4.8/gcc/lra.c:2281

0x848e42e do_reload

    ../../gcc-4.8/gcc/ira.c:4624

0x848e5fb rest_of_handle_reload

    ../../gcc-4.8/gcc/ira.c:4736

Please submit a full bug report,

with preprocessed source if appropriate.

Please include the complete backtrace with any bug report.

See <http://gcc.gnu.org/bugs.html> for instructions.

Reply via email to