This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/56113] out of memory when compiling a function with many goto labels (50k > )
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 18 Mar 2013 08:47:02 +0000
- Subject: [Bug c/56113] out of memory when compiling a function with many goto labels (50k > )
- Auto-submitted: auto-generated
- References: <bug-56113-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56113
--- Comment #30 from Richard Biener <rguenth at gcc dot gnu.org> 2013-03-18 08:47:02 UTC ---
Author: rguenth
Date: Mon Mar 18 08:46:44 2013
New Revision: 196769
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196769
Log:
2013-03-18 Richard Biener <rguenther@suse.de>
PR middle-end/56113
* domwalk.c (bb_postorder): New global static.
(cmp_bb_postorder): New function.
(walk_dominator_tree): Replace scheme imposing an order for
visiting dominator sons by one sorting them at the time they
are pushed on the stack.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/domwalk.c