This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/38474] slow compilation at -O0 due to expand's temp slot goo
- From: "matz at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 29 May 2012 12:47:29 +0000
- Subject: [Bug middle-end/38474] slow compilation at -O0 due to expand's temp slot goo
- Auto-submitted: auto-generated
- References: <bug-38474-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38474
--- Comment #54 from Michael Matz <matz at gcc dot gnu.org> 2012-05-29 12:47:29 UTC ---
Yes, only the expand vars problem is attacked by my patch. The alias walking
seems to come from an IPA analysis via ipa_compute_jump_functions.
detect_type_change uses the walker from all call statements, and that's
used by compute_known_type_jump_func, from compute_scalar_jump_functions,
from ipa_compute_jump_functions_for_edge. And the latter is called for each
callee. The yukawa_gn_full function has very many calls, so this
seems to make out for an quadratic problem.