[Bug tree-optimization/44914] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions
--- 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
[Bug tree-optimization/44914] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions
--- 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
[Bug tree-optimization/44914] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions
--- 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 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
[Bug tree-optimization/44914] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions
--- 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
[Bug tree-optimization/44914] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions
--- 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
[Bug tree-optimization/44914] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions
--- 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
[Bug tree-optimization/44914] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions
--- 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 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
[Bug tree-optimization/44914] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions
--- 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
[Bug tree-optimization/44914] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions
--- 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|-00-00 00:00:00 |2010-07-22 15:25:08 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44914
[Bug tree-optimization/44914] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions
-- 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
[Bug tree-optimization/44914] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions
--- 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
[Bug tree-optimization/44914] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions
--- 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