This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/13931] [3.4/4.0/4.1 Regression] combiner much slower on big basic blocks
- From: "ian at airs dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Oct 2005 05:51:37 -0000
- Subject: [Bug rtl-optimization/13931] [3.4/4.0/4.1 Regression] combiner much slower on big basic blocks
- References: <bug-13931-7849@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #34 from ian at airs dot com 2005-10-08 05:51 -------
I am able to recreate the problem with a hppa64-hp-hpux11 cross-compiler, in
the sense that combine does lose the REG_DEAD note when compiling the
gcc.c-torture/compile/920501-13.c test case with -O1. In the current compiler,
the compilation succeeds. A REG_UNUSED note is added by the
recompute_reg_usage pass, the unused register is allocated, and the allocated
register is later eliminated during the combine_stack_adjustments pass. So it
works but the overall effect is not ideal since we allocate an unneccessary
register.
I'll see if we can avoid losing the REG_DEAD note in the combine pass.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13931