* [Bug tree-optimization/44914] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions
2010-07-11 22:54 [Bug tree-optimization/44914] New: [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions zsojka at seznam dot cz
@ 2010-07-11 22:55 ` zsojka at seznam dot cz
2010-07-11 22:57 ` steven at gcc dot gnu dot org
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: zsojka at seznam dot cz @ 2010-07-11 22:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from zsojka at seznam dot cz 2010-07-11 22:55 -------
Created an attachment (id=21181)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21181&action=view)
reduced testcase
Command line:
$ gcc -O1 -fipa-sra -fnon-call-exceptions pr44914.C
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44914
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/44914] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions
2010-07-11 22:54 [Bug tree-optimization/44914] New: [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions zsojka at seznam dot cz
2010-07-11 22:55 ` [Bug tree-optimization/44914] " zsojka at seznam dot cz
@ 2010-07-11 22:57 ` steven at gcc dot gnu dot org
2010-07-12 8:05 ` rguenth at gcc dot gnu dot org
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: steven at gcc dot gnu dot org @ 2010-07-11 22:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from steven at gcc dot gnu dot org 2010-07-11 22:56 -------
Martin, SRA related => yours?
--
steven at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jamborm at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44914
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/44914] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions
2010-07-11 22:54 [Bug tree-optimization/44914] New: [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions zsojka at seznam dot cz
2010-07-11 22:55 ` [Bug tree-optimization/44914] " zsojka at seznam dot cz
2010-07-11 22:57 ` steven at gcc dot gnu dot org
@ 2010-07-12 8:05 ` rguenth at gcc dot gnu dot org
2010-07-22 15:25 ` jamborm at gcc dot gnu dot org
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-12 8:05 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.6.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44914
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/44914] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions
2010-07-11 22:54 [Bug tree-optimization/44914] New: [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions zsojka at seznam dot cz
` (2 preceding siblings ...)
2010-07-12 8:05 ` rguenth at gcc dot gnu dot org
@ 2010-07-22 15:25 ` jamborm at gcc dot gnu dot org
2010-07-22 18:08 ` jamborm at gcc dot gnu dot org
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2010-07-22 15:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jamborm at gcc dot gnu dot org 2010-07-22 15:25 -------
I have a fix.
--
jamborm at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jamborm at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-07-22 15:25:08
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44914
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/44914] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions
2010-07-11 22:54 [Bug tree-optimization/44914] New: [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions zsojka at seznam dot cz
` (3 preceding siblings ...)
2010-07-22 15:25 ` jamborm at gcc dot gnu dot org
@ 2010-07-22 18:08 ` jamborm at gcc dot gnu dot org
2010-07-23 16:32 ` jamborm at gcc dot gnu dot org
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2010-07-22 18:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jamborm at gcc dot gnu dot org 2010-07-22 18:07 -------
I have submitted a proposed fix to the mailing list:
http://gcc.gnu.org/ml/gcc-patches/2010-07/msg01760.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44914
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/44914] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions
2010-07-11 22:54 [Bug tree-optimization/44914] New: [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions zsojka at seznam dot cz
` (4 preceding siblings ...)
2010-07-22 18:08 ` jamborm at gcc dot gnu dot org
@ 2010-07-23 16:32 ` jamborm at gcc dot gnu dot org
2010-08-01 18:33 ` arekm at pld-linux dot org
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2010-07-23 16:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jamborm at gcc dot gnu dot org 2010-07-23 16:32 -------
Subject: Bug 44914
Author: jamborm
Date: Fri Jul 23 16:31:48 2010
New Revision: 162468
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162468
Log:
2010-07-23 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/44914
* tree-sra.c (sra_modify_function_body): Return true if CFG was
changed, add purging dead eh edges.
(ipa_sra_modify_function_body): Return true if CFG was changed,
simplify purging dead eh edges.
(modify_function): Return true if CFG was changed.
(perform_intra_sra): Add TODO_cleanup_cfg to the return value if CFG
was changed.
(ipa_early_sra): Likewise.
* testsuite/g++.dg/tree-ssa/pr44914.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/tree-ssa/pr44914.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-sra.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44914
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/44914] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions
2010-07-11 22:54 [Bug tree-optimization/44914] New: [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions zsojka at seznam dot cz
` (5 preceding siblings ...)
2010-07-23 16:32 ` jamborm at gcc dot gnu dot org
@ 2010-08-01 18:33 ` arekm at pld-linux dot org
2010-08-02 13:29 ` jamborm at gcc dot gnu dot org
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: arekm at pld-linux dot org @ 2010-08-01 18:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from arekm at pld-linux dot org 2010-08-01 18:33 -------
Is there a patch for 4.5.1 for this somewhere? I'm hitting this issue at gcc
4.5.1 java boostrap (#45154)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44914
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/44914] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions
2010-07-11 22:54 [Bug tree-optimization/44914] New: [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions zsojka at seznam dot cz
` (6 preceding siblings ...)
2010-08-01 18:33 ` arekm at pld-linux dot org
@ 2010-08-02 13:29 ` jamborm at gcc dot gnu dot org
2010-08-02 17:41 ` jamborm at gcc dot gnu dot org
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2010-08-02 13:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from jamborm at gcc dot gnu dot org 2010-08-02 13:28 -------
(In reply to comment #6)
> Is there a patch for 4.5.1 for this somewhere? I'm hitting this issue at gcc
> 4.5.1 java boostrap (#45154)
>
The patch is really the same. I did not commit it because the branch
was frozen for the release of 4.5.1. I'm re-testing it on the branch
now and hopefully will commit it today.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44914
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/44914] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions
2010-07-11 22:54 [Bug tree-optimization/44914] New: [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions zsojka at seznam dot cz
` (7 preceding siblings ...)
2010-08-02 13:29 ` jamborm at gcc dot gnu dot org
@ 2010-08-02 17:41 ` jamborm at gcc dot gnu dot org
2010-08-03 9:53 ` jamborm at gcc dot gnu dot org
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2010-08-02 17:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from jamborm at gcc dot gnu dot org 2010-08-02 17:40 -------
(In reply to comment #7)
>
> The patch is really the same. I did not commit it because the branch
> was frozen for the release of 4.5.1. I'm re-testing it on the branch
> now and hopefully will commit it today.
>
Actually no, the patch must be slightly different because
scan_function() is not split into multiple functions in 4.5... but
along the same lines. I'll prepare it, hopefully today.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44914
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/44914] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions
2010-07-11 22:54 [Bug tree-optimization/44914] New: [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions zsojka at seznam dot cz
` (8 preceding siblings ...)
2010-08-02 17:41 ` jamborm at gcc dot gnu dot org
@ 2010-08-03 9:53 ` jamborm at gcc dot gnu dot org
2010-08-03 12:11 ` jamborm at gcc dot gnu dot org
2010-08-03 12:58 ` pluto at agmk dot net
11 siblings, 0 replies; 13+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2010-08-03 9:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from jamborm at gcc dot gnu dot org 2010-08-03 09:53 -------
Subject: Bug 44914
Author: jamborm
Date: Tue Aug 3 09:52:46 2010
New Revision: 162839
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162839
Log:
2010-08-03 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/44914
* tree-sra.c (cfg_changed): New variable.
(sra_initialize): Initialize cgf_changed to false.
(scan_function): Set cfg_changed if cfg was changed.
(perform_intra_sra): Return also TODO_cleanup_cfg if cfg was changed.
(ipa_early_sra): Likewise.
* testsuite/g++.dg/tree-ssa/pr44914.C: New test.
Added:
branches/gcc-4_5-branch/gcc/testsuite/g++.dg/tree-ssa/pr44914.C
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
branches/gcc-4_5-branch/gcc/tree-sra.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44914
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/44914] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions
2010-07-11 22:54 [Bug tree-optimization/44914] New: [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions zsojka at seznam dot cz
` (9 preceding siblings ...)
2010-08-03 9:53 ` jamborm at gcc dot gnu dot org
@ 2010-08-03 12:11 ` jamborm at gcc dot gnu dot org
2010-08-03 12:58 ` pluto at agmk dot net
11 siblings, 0 replies; 13+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2010-08-03 12:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from jamborm at gcc dot gnu dot org 2010-08-03 12:11 -------
Fixed.
--
jamborm at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44914
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/44914] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions
2010-07-11 22:54 [Bug tree-optimization/44914] New: [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions zsojka at seznam dot cz
` (10 preceding siblings ...)
2010-08-03 12:11 ` jamborm at gcc dot gnu dot org
@ 2010-08-03 12:58 ` pluto at agmk dot net
11 siblings, 0 replies; 13+ messages in thread
From: pluto at agmk dot net @ 2010-08-03 12:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from pluto at agmk dot net 2010-08-03 12:58 -------
*** Bug 45154 has been marked as a duplicate of this bug. ***
--
pluto at agmk dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pluto at agmk dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44914
^ permalink raw reply [flat|nested] 13+ messages in thread