public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/31947] [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374
2007-05-16 10:26 [Bug tree-optimization/31947] New: [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374 tbm at cyrius dot com
@ 2007-05-16 10:26 ` tbm at cyrius dot com
2007-05-16 10:29 ` tbm at cyrius dot com
` (15 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: tbm at cyrius dot com @ 2007-05-16 10:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from tbm at cyrius dot com 2007-05-16 11:26 -------
Created an attachment (id=13564)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13564&action=view)
testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31947
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug tree-optimization/31947] New: [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374
@ 2007-05-16 10:26 tbm at cyrius dot com
2007-05-16 10:26 ` [Bug tree-optimization/31947] " tbm at cyrius dot com
` (16 more replies)
0 siblings, 17 replies; 18+ messages in thread
From: tbm at cyrius dot com @ 2007-05-16 10:26 UTC (permalink / raw)
To: gcc-bugs
I'm getting the following ICE with gcc 4.2.0 RC3. It compiles fine
with gcc 4.1 and 4.3 20070515.
(sid)23889:tbm@em64t: ~] /usr/lib/gcc-snapshot/bin/g++ -c -O2
freehdl-vital_timing.cc
freehdl-vital_timing.cc: In function 'array_type<long int> delay(const
array_type<long int>&)':
freehdl-vital_timing.cc:38: internal compiler error: in calc_dfs_tree, at
dominance.c:374
Please submit a full bug report,
with preprocessed source if appropriate.
(sid)23890:tbm@em64t: ~] g++-4.1 -c -O2 freehdl-vital_timing.cc
(sid)23891:tbm@em64t: ~]
--
Summary: [4.2 Regression] ICE in calc_dfs_tree, at
dominance.c:374
Product: gcc
Version: 4.2.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=31947
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug tree-optimization/31947] [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374
2007-05-16 10:26 [Bug tree-optimization/31947] New: [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374 tbm at cyrius dot com
2007-05-16 10:26 ` [Bug tree-optimization/31947] " tbm at cyrius dot com
@ 2007-05-16 10:29 ` tbm at cyrius dot com
2007-05-16 10:32 ` [Bug middle-end/31947] " tbm at gcc dot gnu dot org
` (14 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: tbm at cyrius dot com @ 2007-05-16 10:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from tbm at cyrius dot com 2007-05-16 11:29 -------
Note that the testcases from PR30509 work fine with 4.2, so this appears to
be a different bug.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31947
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug middle-end/31947] [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374
2007-05-16 10:26 [Bug tree-optimization/31947] New: [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374 tbm at cyrius dot com
2007-05-16 10:26 ` [Bug tree-optimization/31947] " tbm at cyrius dot com
2007-05-16 10:29 ` tbm at cyrius dot com
@ 2007-05-16 10:32 ` tbm at gcc dot gnu dot org
2007-05-22 16:43 ` tbm at cyrius dot com
` (13 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: tbm at gcc dot gnu dot org @ 2007-05-16 10:32 UTC (permalink / raw)
To: gcc-bugs
--
tbm at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|tree-optimization |middle-end
Keywords| |ice-on-valid-code
Target Milestone|--- |4.2.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31947
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug middle-end/31947] [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374
2007-05-16 10:26 [Bug tree-optimization/31947] New: [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374 tbm at cyrius dot com
` (2 preceding siblings ...)
2007-05-16 10:32 ` [Bug middle-end/31947] " tbm at gcc dot gnu dot org
@ 2007-05-22 16:43 ` tbm at cyrius dot com
2007-07-04 3:08 ` mmitchel at gcc dot gnu dot org
` (12 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: tbm at cyrius dot com @ 2007-05-22 16:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from tbm at cyrius dot com 2007-05-22 17:43 -------
Adding Honza to cc: in the hope he can help since he fixed PR30509.
--
tbm at cyrius dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31947
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug middle-end/31947] [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374
2007-05-16 10:26 [Bug tree-optimization/31947] New: [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374 tbm at cyrius dot com
` (3 preceding siblings ...)
2007-05-22 16:43 ` tbm at cyrius dot com
@ 2007-07-04 3:08 ` mmitchel at gcc dot gnu dot org
2007-07-20 3:52 ` mmitchel at gcc dot gnu dot org
` (11 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-07-04 3: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=31947
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug middle-end/31947] [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374
2007-05-16 10:26 [Bug tree-optimization/31947] New: [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374 tbm at cyrius dot com
` (4 preceding siblings ...)
2007-07-04 3:08 ` mmitchel at gcc dot gnu dot org
@ 2007-07-20 3:52 ` mmitchel at gcc dot gnu dot org
2007-10-09 19:22 ` mmitchel at gcc dot gnu dot org
` (10 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-07-20 3:52 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.2.1 |4.2.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31947
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug middle-end/31947] [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374
2007-05-16 10:26 [Bug tree-optimization/31947] New: [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374 tbm at cyrius dot com
` (5 preceding siblings ...)
2007-07-20 3:52 ` mmitchel at gcc dot gnu dot org
@ 2007-10-09 19:22 ` mmitchel at gcc dot gnu dot org
2007-10-17 15:39 ` tbm at cyrius dot com
` (9 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-10-09 19:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from mmitchel at gcc dot gnu dot org 2007-10-09 19:20 -------
Change target milestone to 4.2.3, as 4.2.2 has been released.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.2.2 |4.2.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31947
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug middle-end/31947] [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374
2007-05-16 10:26 [Bug tree-optimization/31947] New: [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374 tbm at cyrius dot com
` (6 preceding siblings ...)
2007-10-09 19:22 ` mmitchel at gcc dot gnu dot org
@ 2007-10-17 15:39 ` tbm at cyrius dot com
2007-10-17 15:47 ` rguenth at gcc dot gnu dot org
` (8 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: tbm at cyrius dot com @ 2007-10-17 15:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from tbm at cyrius dot com 2007-10-17 15:39 -------
(In reply to comment #3)
> Adding Honza to cc: in the hope he can help since he fixed PR30509.
Honza: do you think you could take a look at this PR?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31947
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug middle-end/31947] [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374
2007-05-16 10:26 [Bug tree-optimization/31947] New: [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374 tbm at cyrius dot com
` (7 preceding siblings ...)
2007-10-17 15:39 ` tbm at cyrius dot com
@ 2007-10-17 15:47 ` rguenth at gcc dot gnu dot org
2007-10-17 16:08 ` rakdver at gcc dot gnu dot org
` (7 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-10-17 15:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from rguenth at gcc dot gnu dot org 2007-10-17 15:47 -------
Adding Zdenek, also familiar with the dominance code.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rakdver at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31947
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug middle-end/31947] [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374
2007-05-16 10:26 [Bug tree-optimization/31947] New: [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374 tbm at cyrius dot com
` (8 preceding siblings ...)
2007-10-17 15:47 ` rguenth at gcc dot gnu dot org
@ 2007-10-17 16:08 ` rakdver at gcc dot gnu dot org
2007-12-27 16:56 ` reichelt at gcc dot gnu dot org
` (6 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2007-10-17 16:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rakdver at gcc dot gnu dot org 2007-10-17 16:07 -------
(In reply to comment #0)
> I'm getting the following ICE with gcc 4.2.0 RC3. It compiles fine
> with gcc 4.1 and 4.3 20070515.
>
> (sid)23889:tbm@em64t: ~] /usr/lib/gcc-snapshot/bin/g++ -c -O2
> freehdl-vital_timing.cc
> freehdl-vital_timing.cc: In function 'array_type<long int> delay(const
> array_type<long int>&)':
> freehdl-vital_timing.cc:38: internal compiler error: in calc_dfs_tree, at
> dominance.c:374
> Please submit a full bug report,
> with preprocessed source if appropriate.
> (sid)23890:tbm@em64t: ~] g++-4.1 -c -O2 freehdl-vital_timing.cc
> (sid)23891:tbm@em64t: ~]
This ICE happens when there are unreachable blocks in cfg when
calculate_dominance_info is called. Adding delete_unreachable_blocks
before calculate_dominance_info in tree-vrp.c:identify_jump_threads fixes
this ICE (I need to check whether this does not cause other problems, though).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31947
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug middle-end/31947] [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374
2007-05-16 10:26 [Bug tree-optimization/31947] New: [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374 tbm at cyrius dot com
` (9 preceding siblings ...)
2007-10-17 16:08 ` rakdver at gcc dot gnu dot org
@ 2007-12-27 16:56 ` reichelt at gcc dot gnu dot org
2008-01-16 13:40 ` rguenth at gcc dot gnu dot org
` (5 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-12-27 16:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from reichelt at gcc dot gnu dot org 2007-12-27 16:55 -------
Confirmed. Even shorter testcase:
================================
struct A
{
virtual void foo() {}
} a;
struct B
{
~B() {}
};
struct C : B
{
A* p;
C() : p(&a) { p->foo(); }
} c;
================================
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |monitored
Known to fail| |4.2.0 4.2.1 4.2.2
Known to work| |4.1.0 4.1.3 4.3.0
Last reconfirmed|0000-00-00 00:00:00 |2007-12-27 16:55:53
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31947
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug middle-end/31947] [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374
2007-05-16 10:26 [Bug tree-optimization/31947] New: [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374 tbm at cyrius dot com
` (10 preceding siblings ...)
2007-12-27 16:56 ` reichelt at gcc dot gnu dot org
@ 2008-01-16 13:40 ` rguenth at gcc dot gnu dot org
2008-01-25 22:48 ` rguenth at gcc dot gnu dot org
` (4 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-16 13:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from rguenth at gcc dot gnu dot org 2008-01-16 13:28 -------
*** Bug 33195 has been marked as a duplicate of this bug. ***
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mi at aldan dot algebra dot
| |com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31947
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug middle-end/31947] [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374
2007-05-16 10:26 [Bug tree-optimization/31947] New: [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374 tbm at cyrius dot com
` (11 preceding siblings ...)
2008-01-16 13:40 ` rguenth at gcc dot gnu dot org
@ 2008-01-25 22:48 ` rguenth at gcc dot gnu dot org
2008-02-01 16:57 ` jsm28 at gcc dot gnu dot org
` (3 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-25 22:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from rguenth at gcc dot gnu dot org 2008-01-25 22:37 -------
*** Bug 34809 has been marked as a duplicate of this bug. ***
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |trojanfoe at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31947
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug middle-end/31947] [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374
2007-05-16 10:26 [Bug tree-optimization/31947] New: [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374 tbm at cyrius dot com
` (12 preceding siblings ...)
2008-01-25 22:48 ` rguenth at gcc dot gnu dot org
@ 2008-02-01 16:57 ` jsm28 at gcc dot gnu dot org
2008-03-16 17:22 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-02-01 16:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from jsm28 at gcc dot gnu dot org 2008-02-01 16:54 -------
4.2.3 is being released now, changing milestones of open bugs to 4.2.4.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.2.3 |4.2.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31947
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug middle-end/31947] [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374
2007-05-16 10:26 [Bug tree-optimization/31947] New: [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374 tbm at cyrius dot com
` (13 preceding siblings ...)
2008-02-01 16:57 ` jsm28 at gcc dot gnu dot org
@ 2008-03-16 17:22 ` rguenth at gcc dot gnu dot org
2008-05-19 20:28 ` jsm28 at gcc dot gnu dot org
2009-03-30 21:49 ` jsm28 at gcc dot gnu dot org
16 siblings, 0 replies; 18+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-03-16 17:22 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|4.2.0 4.2.1 4.2.2 |4.2.0 4.2.1 4.2.2 4.2.3
Priority|P1 |P2
Last reconfirmed|2007-12-27 16:55:53 |2008-03-16 17:21:24
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31947
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug middle-end/31947] [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374
2007-05-16 10:26 [Bug tree-optimization/31947] New: [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374 tbm at cyrius dot com
` (14 preceding siblings ...)
2008-03-16 17:22 ` rguenth at gcc dot gnu dot org
@ 2008-05-19 20:28 ` jsm28 at gcc dot gnu dot org
2009-03-30 21:49 ` jsm28 at gcc dot gnu dot org
16 siblings, 0 replies; 18+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-05-19 20:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from jsm28 at gcc dot gnu dot org 2008-05-19 20:23 -------
4.2.4 is being released, changing milestones to 4.2.5.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.2.4 |4.2.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31947
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug middle-end/31947] [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374
2007-05-16 10:26 [Bug tree-optimization/31947] New: [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374 tbm at cyrius dot com
` (15 preceding siblings ...)
2008-05-19 20:28 ` jsm28 at gcc dot gnu dot org
@ 2009-03-30 21:49 ` jsm28 at gcc dot gnu dot org
16 siblings, 0 replies; 18+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-30 21:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from jsm28 at gcc dot gnu dot org 2009-03-30 21:49 -------
Closing 4.2 branch, fixed in 4.3.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Known to fail|4.2.0 4.2.1 4.2.2 4.2.3 |4.2.0 4.2.1 4.2.2 4.2.3
| |4.2.5
Resolution| |FIXED
Target Milestone|4.2.5 |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31947
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2009-03-30 21:49 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-16 10:26 [Bug tree-optimization/31947] New: [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374 tbm at cyrius dot com
2007-05-16 10:26 ` [Bug tree-optimization/31947] " tbm at cyrius dot com
2007-05-16 10:29 ` tbm at cyrius dot com
2007-05-16 10:32 ` [Bug middle-end/31947] " tbm at gcc dot gnu dot org
2007-05-22 16:43 ` tbm at cyrius dot com
2007-07-04 3:08 ` mmitchel at gcc dot gnu dot org
2007-07-20 3:52 ` mmitchel at gcc dot gnu dot org
2007-10-09 19:22 ` mmitchel at gcc dot gnu dot org
2007-10-17 15:39 ` tbm at cyrius dot com
2007-10-17 15:47 ` rguenth at gcc dot gnu dot org
2007-10-17 16:08 ` rakdver at gcc dot gnu dot org
2007-12-27 16:56 ` reichelt at gcc dot gnu dot org
2008-01-16 13:40 ` rguenth at gcc dot gnu dot org
2008-01-25 22:48 ` rguenth at gcc dot gnu dot org
2008-02-01 16:57 ` jsm28 at gcc dot gnu dot org
2008-03-16 17:22 ` rguenth at gcc dot gnu dot org
2008-05-19 20:28 ` jsm28 at gcc dot gnu dot org
2009-03-30 21:49 ` jsm28 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).