public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/51856] New: [4.7 Regression] ICE in reload_cse_simplify_operands
@ 2012-01-13 23:42 jakub at gcc dot gnu.org
  2012-01-13 23:45 ` [Bug rtl-optimization/51856] " jakub at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-01-13 23:42 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51856
           Summary: [4.7 Regression] ICE in reload_cse_simplify_operands
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jakub@gcc.gnu.org
            Target: s390-linux


struct B { int b1; long long b2, b3; int b4; };
struct C { char c1[40], c2, c3[96]; long long c4[5], c5; char c6[596]; };
void fn1 (long long), fn2 (char *, int), fn4 (void);
int r, fn3 (int, const char *, int, char *, int, int);

void
foo (int t, int u, int v, int w, int x, int y, struct B *z)
{
  char c[512], d[512], e;
  struct C g;
  long long f, h[255];
  struct B j;
  __builtin_bzero (&j, sizeof j);
  if (y > w)
    fn4 ();
  __builtin_bzero (&g, sizeof g);
  g.c5 = h[0];
  fn1 (z ? z->b3 : f);
  g.c2 = y;
  fn2 (d, 256);
  if (fn3 (r, "", e, c, 0, 16))
    fn4 ();
}

ICEs with -O2 -m31 on the trunk with:
rh773565.i: In function 'foo':
rh773565.i:23:1: error: insn does not satisfy its constraints:
(insn 51 136 120 8 (set (mem/s/c:QI (plus:SI (reg/f:SI 15 %r15)
                (const_int 1208 [0x4b8])) [0 g.c2+0 S1 A64])
        (mem/c/i:QI (plus:SI (plus:SI (reg/f:SI 15 %r15)
                    (reg:SI 1 %r1))
                (const_int 3 [0x3])) [5 y+3 S1 A32])) rh773565.i:19 73 {*movqi}
     (nil))
rh773565.i:23:1: internal compiler error: in reload_cse_simplify_operands, at
postreload.c:403
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


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

end of thread, other threads:[~2012-01-24  7:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-13 23:42 [Bug rtl-optimization/51856] New: [4.7 Regression] ICE in reload_cse_simplify_operands jakub at gcc dot gnu.org
2012-01-13 23:45 ` [Bug rtl-optimization/51856] " jakub at gcc dot gnu.org
2012-01-19 12:57 ` rguenth at gcc dot gnu.org
2012-01-19 13:07 ` jakub at gcc dot gnu.org
2012-01-19 14:59 ` krebbel at gcc dot gnu.org
2012-01-20 17:22 ` krebbel at gcc dot gnu.org
2012-01-24  8:04 ` jakub at gcc dot gnu.org

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).