public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/21330] New: ICE in compare_and_jump_seq, at loop-unswitch.c:120
@ 2005-05-02  9:09 jakub at gcc dot gnu dot org
  2005-05-02 10:38 ` [Bug rtl-optimization/21330] " jakub at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2005-05-02  9:09 UTC (permalink / raw)
  To: gcc-bugs

extern int baz (int);
int bar (void *);

void foo (void *w, char *x, bool y, bool z)
{
  char c = bar (w);
  int i = 0;

  while (1)
    {
      x[i++] = c;
      c = bar (w);
      if (y && c == '\'')
        break;
      if (z && c == '\"')
        break;
      if (!y && !z && !baz (c))
        break;
    }
   x[i]=0;
}

causes ICE in compare_and_jump_seq on powerpc-linux, with both -O3 -m32 and
-O3 -m64.

-- 
           Summary: ICE in compare_and_jump_seq, at loop-unswitch.c:120
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: powerpc-linux


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


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

end of thread, other threads:[~2005-05-06 13:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-02  9:09 [Bug rtl-optimization/21330] New: ICE in compare_and_jump_seq, at loop-unswitch.c:120 jakub at gcc dot gnu dot org
2005-05-02 10:38 ` [Bug rtl-optimization/21330] " jakub at gcc dot gnu dot org
2005-05-02 12:09 ` [Bug rtl-optimization/21330] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-05-03 13:10 ` cvs-commit at gcc dot gnu dot org
2005-05-06 10:53 ` [Bug rtl-optimization/21330] [4.0 " cvs-commit at gcc dot gnu dot org
2005-05-06 13:46 ` pinskia at gcc dot gnu dot 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).