public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "sje at cup dot hp dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/38857]  New: [4.4 Regression] ICE in selective scheduler
Date: Thu, 15 Jan 2009 19:19:00 -0000	[thread overview]
Message-ID: <bug-38857-3107@http.gcc.gnu.org/bugzilla/> (raw)

With this test case the selective scheduler is hitting a gcc_assert in
sel-sched-ir.c  I see this on IA64 Linux or on IA64 HP-UX when in 64 bit mode. 

In both cases it happens when compiling with -O3.

x.c: In function 'dv_guess_qnos':
x.c:22: internal compiler error: in sel_move_insn, at sel-sched-ir.c:1395
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


Test case:


static const int vs_total_ac_bits = 2680;
typedef struct EncBlockInfo {
      short mb[64];
      unsigned char next[64];
} EncBlockInfo;
inline void dv_guess_qnos(EncBlockInfo* blks, int* qnos) {
      int size[5];
      int j, k, a, prev;
      EncBlockInfo* b;
      for(a=2; a==2 || vs_total_ac_bits < size[0]; a+=a){
         for (j=0; j<6*5; j++, b++) {
             for (k= b->next[prev]; k<64; k= b->next[k]) {
                 if(b->mb[k] < a && b->mb[k] > -a){
                     b->next[prev] = b->next[k];
                 }
                 else{
                     prev = k;
                 }
             }
         }
     }
}


-- 
           Summary: [4.4 Regression] ICE in selective scheduler
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sje at cup dot hp dot com
GCC target triplet: ia64-*-*


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


             reply	other threads:[~2009-01-15 19:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-15 19:19 sje at cup dot hp dot com [this message]
2009-01-15 19:20 ` [Bug middle-end/38857] " pinskia at gcc dot gnu dot org
2009-01-19  9:49 ` rguenth at gcc dot gnu dot org
2009-01-19 22:50 ` steven at gcc dot gnu dot org
2009-01-20 15:45 ` amonakov at gcc dot gnu dot org
2009-01-20 15:47 ` amonakov at gcc dot gnu dot org
2009-01-20 23:13 ` sje at cup dot hp dot com
2009-01-20 23:16 ` steven at gcc dot gnu dot org
2009-01-22 12:19 ` amonakov at gcc dot gnu dot org
2009-01-25 11:31 ` jakub at gcc dot gnu dot org
2009-01-29 10:53 ` amonakov at gcc dot gnu dot org
2009-01-29 10:55 ` amonakov at gcc dot gnu dot org
2009-01-29 17:06 ` hjl at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-38857-3107@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).