[Bug middle-end/38474] [Meta] slow compilation at -O0 (callgraph optimization, inline heuristics, expand )
matz at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Dec 3 13:37:00 GMT 2009
------- Comment #42 from matz at gcc dot gnu dot org 2009-12-03 13:36 -------
Subject: Bug 38474
Author: matz
Date: Thu Dec 3 13:36:32 2009
New Revision: 154945
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154945
Log:
PR middle-end/38474
* cfgexpand.c (struct stack_var): Add conflicts member.
(stack_vars_conflict, stack_vars_conflict_alloc,
n_stack_vars_conflict): Remove.
(add_stack_var): Initialize conflicts member.
(triangular_index, resize_stack_vars_conflict): Remove.
(add_stack_var_conflict, stack_var_conflict_p): Rewrite in
terms of new member.
(union_stack_vars): Only run over the conflicts.
(partition_stack_vars): Remove special case.
(expand_used_vars_for_block): Don't call resize_stack_vars_conflict,
don't create self-conflicts.
(account_used_vars_for_block): Don't create any conflicts.
(fini_vars_expansion): Free bitmaps, don't free or clear removed
globals.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cfgexpand.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38474
More information about the Gcc-bugs
mailing list