public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/37353]  New: [4.4 Regression] ICE: vector VEC(gimple,base) push domain error, in tree_call_cdce at tree-call-cdce.c:890
@ 2008-09-03 16:31 tbm at cyrius dot com
  2008-09-03 16:32 ` [Bug tree-optimization/37353] " tbm at cyrius dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: tbm at cyrius dot com @ 2008-09-03 16:31 UTC (permalink / raw)
  To: gcc-bugs

With trunk:

(sid)988:tbm@em64t: ~] /usr/lib/gcc-snapshot/bin/g++ -O2 qucs-hic2_full.core.ii
hic2_full.core.cpp: In member function 'void hic2_full::calcVerilog()':
hic2_full.core.cpp:345: internal compiler error: vector VEC(gimple,base) push
domain error, in tree_call_cdce at tree-call-cdce.c:890
Please submit a full bug report,
with preprocessed source if appropriate.

Works fine at -O


-- 
           Summary: [4.4 Regression] ICE: vector VEC(gimple,base) push
                    domain error, in tree_call_cdce at tree-call-cdce.c:890
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbm at cyrius dot com


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


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

* [Bug tree-optimization/37353] [4.4 Regression] ICE: vector VEC(gimple,base) push domain error, in tree_call_cdce at tree-call-cdce.c:890
  2008-09-03 16:31 [Bug tree-optimization/37353] New: [4.4 Regression] ICE: vector VEC(gimple,base) push domain error, in tree_call_cdce at tree-call-cdce.c:890 tbm at cyrius dot com
@ 2008-09-03 16:32 ` tbm at cyrius dot com
  2008-09-03 20:47 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: tbm at cyrius dot com @ 2008-09-03 16:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from tbm at cyrius dot com  2008-09-03 16:30 -------
Created an attachment (id=16208)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16208&action=view)
Preprocessed code


-- 


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


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

* [Bug tree-optimization/37353] [4.4 Regression] ICE: vector VEC(gimple,base) push domain error, in tree_call_cdce at tree-call-cdce.c:890
  2008-09-03 16:31 [Bug tree-optimization/37353] New: [4.4 Regression] ICE: vector VEC(gimple,base) push domain error, in tree_call_cdce at tree-call-cdce.c:890 tbm at cyrius dot com
  2008-09-03 16:32 ` [Bug tree-optimization/37353] " tbm at cyrius dot com
@ 2008-09-03 20:47 ` pinskia at gcc dot gnu dot org
  2008-09-03 20:54 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-03 20:47 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
   Target Milestone|---                         |4.4.0


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


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

* [Bug tree-optimization/37353] [4.4 Regression] ICE: vector VEC(gimple,base) push domain error, in tree_call_cdce at tree-call-cdce.c:890
  2008-09-03 16:31 [Bug tree-optimization/37353] New: [4.4 Regression] ICE: vector VEC(gimple,base) push domain error, in tree_call_cdce at tree-call-cdce.c:890 tbm at cyrius dot com
  2008-09-03 16:32 ` [Bug tree-optimization/37353] " tbm at cyrius dot com
  2008-09-03 20:47 ` pinskia at gcc dot gnu dot org
@ 2008-09-03 20:54 ` pinskia at gcc dot gnu dot org
  2008-09-04  4:09 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-03 20:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2008-09-03 20:53 -------
Reducing ...


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code


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


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

* [Bug tree-optimization/37353] [4.4 Regression] ICE: vector VEC(gimple,base) push domain error, in tree_call_cdce at tree-call-cdce.c:890
  2008-09-03 16:31 [Bug tree-optimization/37353] New: [4.4 Regression] ICE: vector VEC(gimple,base) push domain error, in tree_call_cdce at tree-call-cdce.c:890 tbm at cyrius dot com
                   ` (2 preceding siblings ...)
  2008-09-03 20:54 ` pinskia at gcc dot gnu dot org
@ 2008-09-04  4:09 ` pinskia at gcc dot gnu dot org
  2008-09-04  6:54 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-04  4:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2008-09-04 04:08 -------
Down to 340 lines or so and still going.


-- 


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


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

* [Bug tree-optimization/37353] [4.4 Regression] ICE: vector VEC(gimple,base) push domain error, in tree_call_cdce at tree-call-cdce.c:890
  2008-09-03 16:31 [Bug tree-optimization/37353] New: [4.4 Regression] ICE: vector VEC(gimple,base) push domain error, in tree_call_cdce at tree-call-cdce.c:890 tbm at cyrius dot com
                   ` (3 preceding siblings ...)
  2008-09-04  4:09 ` pinskia at gcc dot gnu dot org
@ 2008-09-04  6:54 ` pinskia at gcc dot gnu dot org
  2008-09-09 16:52 ` jakub at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-04  6:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2008-09-04 06:53 -------
Reduced enough for me (40 lines):
extern "C" {
  extern double exp (double __x) throw ();
  extern double log (double __x) throw ();
  extern double sqrt (double __x) throw ();
}
int  hic2_full()
{
  double zcx, zs, latl, FCxb, FCa_ck;
  double FCa, FFx, Dv_r;
  double Dv_j1, Dv_e;
  double Cjei, DFb, DIOY, vds_t, abet_t, ajep_t;
  double v_e, d00_logE0 ;
sqrt(FFx); sqrt(FFx); sqrt(FFx); sqrt(FFx);
sqrt(FFx); sqrt(FFx); sqrt(FFx); sqrt(FFx);
sqrt(FFx); sqrt(FFx); sqrt(FFx);
sqrt(FCa); sqrt(FCa); sqrt(FCa); sqrt(FCa);
sqrt(FCa); sqrt(FCa); sqrt(FCa); sqrt(FCa);
sqrt(FCa);
log(FCxb);
exp(FCa_ck); exp(FCa_ck); exp(FCa_ck);
exp(FCa_ck); exp(FCa_ck); exp(FCa_ck);
exp(FCa_ck); exp(FCa_ck); exp(FCa_ck);
log(latl);
exp(DIOY);
 log(ajep_t);
 sqrt(v_e);  sqrt(v_e);  sqrt(v_e);
 exp(abet_t);
 log(Cjei);
 exp((d00_logE0)/zcx);
 exp((d00_logE0)/zs);
exp(Dv_e); exp(Dv_e); exp(Dv_e); exp(Dv_e);
exp(Dv_e);
exp(Dv_r); exp(Dv_r); exp(Dv_r); exp(Dv_r);
exp(Dv_r); exp(Dv_r);
log(1.0-(Dv_j1/vds_t));
exp(DFb); exp(DFb); exp(DFb); exp(DFb);
exp(DFb); exp(DFb); exp(DFb); exp(DFb);
exp(DFb); exp(DFb); exp(DFb); exp(DFb);
exp(DFb);
}


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |davidxl at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-09-04 06:53:32
               date|                            |


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


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

* [Bug tree-optimization/37353] [4.4 Regression] ICE: vector VEC(gimple,base) push domain error, in tree_call_cdce at tree-call-cdce.c:890
  2008-09-03 16:31 [Bug tree-optimization/37353] New: [4.4 Regression] ICE: vector VEC(gimple,base) push domain error, in tree_call_cdce at tree-call-cdce.c:890 tbm at cyrius dot com
                   ` (4 preceding siblings ...)
  2008-09-04  6:54 ` pinskia at gcc dot gnu dot org
@ 2008-09-09 16:52 ` jakub at gcc dot gnu dot org
  2008-09-09 20:36 ` jsm28 at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-09-09 16:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jakub at gcc dot gnu dot org  2008-09-09 16:51 -------
Mine.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jakub at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2008-09-04 06:53:32         |2008-09-09 16:51:31
               date|                            |


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


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

* [Bug tree-optimization/37353] [4.4 Regression] ICE: vector VEC(gimple,base) push domain error, in tree_call_cdce at tree-call-cdce.c:890
  2008-09-03 16:31 [Bug tree-optimization/37353] New: [4.4 Regression] ICE: vector VEC(gimple,base) push domain error, in tree_call_cdce at tree-call-cdce.c:890 tbm at cyrius dot com
                   ` (5 preceding siblings ...)
  2008-09-09 16:52 ` jakub at gcc dot gnu dot org
@ 2008-09-09 20:36 ` jsm28 at gcc dot gnu dot org
  2008-09-10  8:03 ` jakub at gcc dot gnu dot org
  2008-09-10  8:05 ` jakub at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-09-09 20:36 UTC (permalink / raw)
  To: gcc-bugs



-- 

jsm28 at gcc dot gnu dot org changed:

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


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


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

* [Bug tree-optimization/37353] [4.4 Regression] ICE: vector VEC(gimple,base) push domain error, in tree_call_cdce at tree-call-cdce.c:890
  2008-09-03 16:31 [Bug tree-optimization/37353] New: [4.4 Regression] ICE: vector VEC(gimple,base) push domain error, in tree_call_cdce at tree-call-cdce.c:890 tbm at cyrius dot com
                   ` (6 preceding siblings ...)
  2008-09-09 20:36 ` jsm28 at gcc dot gnu dot org
@ 2008-09-10  8:03 ` jakub at gcc dot gnu dot org
  2008-09-10  8:05 ` jakub at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-09-10  8:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from jakub at gcc dot gnu dot org  2008-09-10 08:02 -------
Subject: Bug 37353

Author: jakub
Date: Wed Sep 10 08:00:40 2008
New Revision: 140208

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140208
Log:
        PR tree-optimization/37353
        * tree-call-cdce.c (cond_dead_built_in_calls): Remove.
        (shrink_wrap_conditional_dead_built_in_calls): Add calls argument, use
        calls instead of cond_dead_built_in_calls.
        (tree_call_cdce): Add cond_dead_built_in_calls automatic variable,
        initalize the vector only before adding first entry.  Use VEC_safe_push
        instead of VEC_quick_push.  Pass cond_dead_built_in_calls to
        shrink_wrap_conditional_dead_built_in_calls call.

        * gcc.dg/pr37353.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr37353.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-call-cdce.c


-- 


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


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

* [Bug tree-optimization/37353] [4.4 Regression] ICE: vector VEC(gimple,base) push domain error, in tree_call_cdce at tree-call-cdce.c:890
  2008-09-03 16:31 [Bug tree-optimization/37353] New: [4.4 Regression] ICE: vector VEC(gimple,base) push domain error, in tree_call_cdce at tree-call-cdce.c:890 tbm at cyrius dot com
                   ` (7 preceding siblings ...)
  2008-09-10  8:03 ` jakub at gcc dot gnu dot org
@ 2008-09-10  8:05 ` jakub at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-09-10  8:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from jakub at gcc dot gnu dot org  2008-09-10 08:04 -------
Fixed.


-- 

jakub at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2008-09-10  8:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-03 16:31 [Bug tree-optimization/37353] New: [4.4 Regression] ICE: vector VEC(gimple,base) push domain error, in tree_call_cdce at tree-call-cdce.c:890 tbm at cyrius dot com
2008-09-03 16:32 ` [Bug tree-optimization/37353] " tbm at cyrius dot com
2008-09-03 20:47 ` pinskia at gcc dot gnu dot org
2008-09-03 20:54 ` pinskia at gcc dot gnu dot org
2008-09-04  4:09 ` pinskia at gcc dot gnu dot org
2008-09-04  6:54 ` pinskia at gcc dot gnu dot org
2008-09-09 16:52 ` jakub at gcc dot gnu dot org
2008-09-09 20:36 ` jsm28 at gcc dot gnu dot org
2008-09-10  8:03 ` jakub at gcc dot gnu dot org
2008-09-10  8:05 ` jakub 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).