This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/23898] basic block reordering excessively increases code size; get_uncond_jump_length pessimistic
- From: "amylaar at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Sep 2005 17:51:28 -0000
- Subject: [Bug rtl-optimization/23898] basic block reordering excessively increases code size; get_uncond_jump_length pessimistic
- References: <20050915174342.23898.amylaar@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From amylaar at gcc dot gnu dot org 2005-09-15 17:51 -------
Created an attachment (id=9736)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9736&action=view)
fix for SH
This patch set fixes the problem for the SH.
The patch to sh_output_mi_thunk should no longer be necessary in mainline,
AFAICR
Kaz has fixed the generic code to get the line number information initialized.
If we want to use this approach, a tm.texi patch needs to be added, and machine
specific patches for the other ports are needed to get benefit of this patch.
Another approach would be to make the gen* programs create a minumum insn
length function, and use that instead.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23898