public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/38857]  New: [4.4 Regression] ICE in selective scheduler
@ 2009-01-15 19:19 sje at cup dot hp dot com
  2009-01-15 19:20 ` [Bug middle-end/38857] " pinskia at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: sje at cup dot hp dot com @ 2009-01-15 19:19 UTC (permalink / raw)
  To: gcc-bugs

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


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

end of thread, other threads:[~2009-01-29 17:06 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-15 19:19 [Bug middle-end/38857] New: [4.4 Regression] ICE in selective scheduler sje at cup dot hp dot com
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

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