public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/55130] New: [4.8 Regression] ICE in insn_rhs_dead_pseudo_p, at lra-constraints.c:3224
@ 2012-10-29 23:30 d.g.gorbachev at gmail dot com
  2012-10-29 23:42 ` [Bug middle-end/55130] " mpolacek at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2012-10-29 23:30 UTC (permalink / raw)
  To: gcc-bugs


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: unassigned@gcc.gnu.org
        ReportedBy: d.g.gorbachev@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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-11-06 16:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-29 23:30 [Bug middle-end/55130] New: [4.8 Regression] ICE in insn_rhs_dead_pseudo_p, at lra-constraints.c:3224 d.g.gorbachev at gmail dot com
2012-10-29 23:42 ` [Bug middle-end/55130] " mpolacek at gcc dot gnu.org
2012-10-30  9:35 ` rguenth at gcc dot gnu.org
2012-11-02 14:45 ` vmakarov at gcc dot gnu.org
2012-11-06 16:46 ` d.g.gorbachev at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).