public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/33624] [4.3 Regression] ICE in speculate_insn, at haifa-sched.c:4053
  2007-10-02 11:10 [Bug rtl-optimization/33624] New: [4.3 Regression] ICE in speculate_insn, at haifa-sched.c:4053 rguenth at gcc dot gnu dot org
@ 2007-10-02 11:10 ` rguenth at gcc dot gnu dot org
  2007-10-02 11:48 ` rguenth at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-10-02 11:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2007-10-02 11:10 -------
Created an attachment (id=14283)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14283&action=view)
testcase (unreduced)


-- 


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


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

* [Bug rtl-optimization/33624]  New: [4.3 Regression] ICE in speculate_insn, at haifa-sched.c:4053
@ 2007-10-02 11:10 rguenth at gcc dot gnu dot org
  2007-10-02 11:10 ` [Bug rtl-optimization/33624] " rguenth at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-10-02 11:10 UTC (permalink / raw)
  To: gcc-bugs

/usr/lib/gcc/ia64-suse-linux/4.3.0/cc1plus -fpreprocessed GfxFont.ii -quiet
-dumpbase GfxFont.cc -auxbase GfxFont -O2 -w -version -fmessage-length=0
-fno-strict-aliasing -o GfxFont.s
GfxFont.cc: In constructor 'GfxCIDFont::GfxCIDFont(XRef*, char*, Ref, GString*,
Dict*)':
GfxFont.cc:1398: internal compiler error: in speculate_insn, at
haifa-sched.c:4053
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.opensuse.org/> for instructions.


-- 
           Summary: [4.3 Regression] ICE in speculate_insn, at haifa-
                    sched.c:4053
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org
GCC target triplet: ia64-*-*


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


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

* [Bug rtl-optimization/33624] [4.3 Regression] ICE in speculate_insn, at haifa-sched.c:4053
  2007-10-02 11:10 [Bug rtl-optimization/33624] New: [4.3 Regression] ICE in speculate_insn, at haifa-sched.c:4053 rguenth at gcc dot gnu dot org
  2007-10-02 11:10 ` [Bug rtl-optimization/33624] " rguenth at gcc dot gnu dot org
@ 2007-10-02 11:48 ` rguenth at gcc dot gnu dot org
  2007-10-02 16:34 ` [Bug target/33624] " pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-10-02 11:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2007-10-02 11:48 -------
Reduced testcase:

typedef int GBool;
class GString { };
class XRef;
struct Ref { };
enum ObjType {
    objBool,   objInt,   objReal,   objString,   objName,   objNull,  
objArray,   objDict,   objStream,   objRef,   objCmd,   objError,   objEOF,  
objNone };
class Object {
  public:
    GBool isInt() { }
    GBool isNum() { }
    GBool isArray() { return type == objArray; }
    int getInt() { }
    double getNum() {
  return type == objInt ? (double)intg :
  real;
  }
    int arrayGetLength();
    Object *arrayGet(int i, Object *obj);
    ObjType type;
    union {
      int intg;
      double real;
    };
  };
class Dict {
  public:
    Object *lookup(char *key, Object *obj);
  };
typedef unsigned int CID;
struct GfxFontCIDWidthExcepV {
    CID first;
    CID last;
    double height;
    double vx, vy;
  };
struct GfxFontCIDWidths {
    GfxFontCIDWidthExcepV *     excepsV;
    int nExcepsV;
  };
class GfxFont {
  public:
    GfxFont(char *tagA, Ref idA, GString *nameA);
  };
class GfxCIDFont: public GfxFont {
    GfxCIDFont(XRef *xref, char *tagA, Ref idA, GString *nameA,       Dict
*fontDict);
    GfxFontCIDWidths widths;
  };
GfxCIDFont::GfxCIDFont(XRef *xref, char *tagA, Ref idA, GString *nameA,        
 Dict *fontDict):   GfxFont(tagA, idA, nameA) {
    Dict *desFontDict;
    Object obj1, obj2, obj3, obj4, obj5, obj6;
    int excepsSize, i, j, k, n;
    if (desFontDict->lookup("W2", &obj1)->isArray()) {
      while (i + 1 < obj1.arrayGetLength()) {
        if (obj2.isInt() && obj3.isInt() && i + 4 < obj1.arrayGetLength()) {  
if (obj1.arrayGet(i + 2, &obj4)->isNum() &&      obj1.arrayGet(i + 3,
&obj5)->isNum() &&      obj1.arrayGet(i + 4, &obj6)->isNum()) {    
widths.excepsV[widths.nExcepsV].last = obj3.getInt();    
widths.excepsV[widths.nExcepsV].height = obj4.getNum() * 0.001;   }        }
      }
    }
}


-- 


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


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

* [Bug target/33624] [4.3 Regression] ICE in speculate_insn, at haifa-sched.c:4053
  2007-10-02 11:10 [Bug rtl-optimization/33624] New: [4.3 Regression] ICE in speculate_insn, at haifa-sched.c:4053 rguenth at gcc dot gnu dot org
  2007-10-02 11:10 ` [Bug rtl-optimization/33624] " rguenth at gcc dot gnu dot org
  2007-10-02 11:48 ` rguenth at gcc dot gnu dot org
@ 2007-10-02 16:34 ` pinskia at gcc dot gnu dot org
  2007-10-10 18:08 ` mmitchel at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-10-02 16:34 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
          Component|rtl-optimization            |target
   Target Milestone|---                         |4.3.0


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


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

* [Bug target/33624] [4.3 Regression] ICE in speculate_insn, at haifa-sched.c:4053
  2007-10-02 11:10 [Bug rtl-optimization/33624] New: [4.3 Regression] ICE in speculate_insn, at haifa-sched.c:4053 rguenth at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-10-02 16:34 ` [Bug target/33624] " pinskia at gcc dot gnu dot org
@ 2007-10-10 18:08 ` mmitchel at gcc dot gnu dot org
  2007-11-02 13:23 ` vmakarov at redhat dot com
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-10-10 18:08 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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


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

* [Bug target/33624] [4.3 Regression] ICE in speculate_insn, at haifa-sched.c:4053
  2007-10-02 11:10 [Bug rtl-optimization/33624] New: [4.3 Regression] ICE in speculate_insn, at haifa-sched.c:4053 rguenth at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2007-10-10 18:08 ` mmitchel at gcc dot gnu dot org
@ 2007-11-02 13:23 ` vmakarov at redhat dot com
  2007-11-02 15:20 ` vmakarov at redhat dot com
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: vmakarov at redhat dot com @ 2007-11-02 13:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from vmakarov at redhat dot com  2007-11-02 13:23 -------
I'll look at this.


-- 

vmakarov at redhat dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vmakarov at redhat dot com


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


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

* [Bug target/33624] [4.3 Regression] ICE in speculate_insn, at haifa-sched.c:4053
  2007-10-02 11:10 [Bug rtl-optimization/33624] New: [4.3 Regression] ICE in speculate_insn, at haifa-sched.c:4053 rguenth at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2007-11-02 13:23 ` vmakarov at redhat dot com
@ 2007-11-02 15:20 ` vmakarov at redhat dot com
  2007-11-02 16:33 ` rguenther at suse dot de
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: vmakarov at redhat dot com @ 2007-11-02 15:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from vmakarov at redhat dot com  2007-11-02 15:20 -------
  I've tried GfxFont.ii and the reduced test on Itanium-2 under RHEL
4.4 for today gcc (revision 129849).  There are no crashes anymore.
Everything looks fine.  Probably, latest Maxim Kuvyrkov's patches
fixed this.

  Richard, could you tell what gcc revision you tried.


-- 


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


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

* [Bug target/33624] [4.3 Regression] ICE in speculate_insn, at haifa-sched.c:4053
  2007-10-02 11:10 [Bug rtl-optimization/33624] New: [4.3 Regression] ICE in speculate_insn, at haifa-sched.c:4053 rguenth at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2007-11-02 15:20 ` vmakarov at redhat dot com
@ 2007-11-02 16:33 ` rguenther at suse dot de
  2007-11-02 16:34 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenther at suse dot de @ 2007-11-02 16:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenther at suse dot de  2007-11-02 16:33 -------
Subject: Re:  [4.3 Regression] ICE in speculate_insn, at
 haifa-sched.c:4053

On Fri, 2 Nov 2007, vmakarov at redhat dot com wrote:

> ------- Comment #4 from vmakarov at redhat dot com  2007-11-02 15:20 -------
>   I've tried GfxFont.ii and the reduced test on Itanium-2 under RHEL
> 4.4 for today gcc (revision 129849).  There are no crashes anymore.
> Everything looks fine.  Probably, latest Maxim Kuvyrkov's patches
> fixed this.
> 
>   Richard, could you tell what gcc revision you tried.

I don't remember, but the ICEs vanished for me as well with at least
a snapshot from 20071016.

Richard.


-- 


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


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

* [Bug target/33624] [4.3 Regression] ICE in speculate_insn, at haifa-sched.c:4053
  2007-10-02 11:10 [Bug rtl-optimization/33624] New: [4.3 Regression] ICE in speculate_insn, at haifa-sched.c:4053 rguenth at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2007-11-02 16:33 ` rguenther at suse dot de
@ 2007-11-02 16:34 ` rguenth at gcc dot gnu dot org
  2007-11-02 17:15 ` jakub at gcc dot gnu dot org
  2007-11-02 17:54 ` vmakarov at redhat dot com
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-11-02 16:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rguenth at gcc dot gnu dot org  2007-11-02 16:34 -------
So, fidex.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug target/33624] [4.3 Regression] ICE in speculate_insn, at haifa-sched.c:4053
  2007-10-02 11:10 [Bug rtl-optimization/33624] New: [4.3 Regression] ICE in speculate_insn, at haifa-sched.c:4053 rguenth at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2007-11-02 16:34 ` rguenth at gcc dot gnu dot org
@ 2007-11-02 17:15 ` jakub at gcc dot gnu dot org
  2007-11-02 17:54 ` vmakarov at redhat dot com
  9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-11-02 17:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from jakub at gcc dot gnu dot org  2007-11-02 17:15 -------
Yes, http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129378 fixed this.


-- 


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


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

* [Bug target/33624] [4.3 Regression] ICE in speculate_insn, at haifa-sched.c:4053
  2007-10-02 11:10 [Bug rtl-optimization/33624] New: [4.3 Regression] ICE in speculate_insn, at haifa-sched.c:4053 rguenth at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2007-11-02 17:15 ` jakub at gcc dot gnu dot org
@ 2007-11-02 17:54 ` vmakarov at redhat dot com
  9 siblings, 0 replies; 11+ messages in thread
From: vmakarov at redhat dot com @ 2007-11-02 17:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from vmakarov at redhat dot com  2007-11-02 17:54 -------
I've checked patch http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129378 and
as Jakub I confirm too that the patch fixed the bug.

So it is really fixed.


-- 


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


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

end of thread, other threads:[~2007-11-02 17:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-02 11:10 [Bug rtl-optimization/33624] New: [4.3 Regression] ICE in speculate_insn, at haifa-sched.c:4053 rguenth at gcc dot gnu dot org
2007-10-02 11:10 ` [Bug rtl-optimization/33624] " rguenth at gcc dot gnu dot org
2007-10-02 11:48 ` rguenth at gcc dot gnu dot org
2007-10-02 16:34 ` [Bug target/33624] " pinskia at gcc dot gnu dot org
2007-10-10 18:08 ` mmitchel at gcc dot gnu dot org
2007-11-02 13:23 ` vmakarov at redhat dot com
2007-11-02 15:20 ` vmakarov at redhat dot com
2007-11-02 16:33 ` rguenther at suse dot de
2007-11-02 16:34 ` rguenth at gcc dot gnu dot org
2007-11-02 17:15 ` jakub at gcc dot gnu dot org
2007-11-02 17:54 ` vmakarov at redhat 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).