This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Improvement to loop optimization in presence of inlining
- To: mark at markmitchell dot com
- Subject: Re: Improvement to loop optimization in presence of inlining
- From: Mark Mitchell <mark at markmitchell dot com>
- Date: Sun, 28 Jun 1998 23:44:36 -0700
- CC: egcs-patches at cygnus dot com, law at cygnus dot com
- References: <199806290347.UAA01077@smtp.earthlink.net>
- Reply-to: mark at markmitchell dot com
Sun Jun 28 18:25:20 1998 Mark Mitchell <mark@markmitchell.com>
* jump.c (duplicate_loop_exit_test): Don't refuse to copy a
section of code just because it contains
NOTE_INSN_BLOCK_{BEG,END}. Do refuse to move partial blocks,
though.
* stmt.c (expand_end_loop): Likewise. Also, don't refuse to
move CALL_INSNs or CODE_LABELs.
This patch, I have just realized, will screw up debugging information.
I shall have to think about how to fix that. For now, I'd still
appreciate comments on the patch, but I hereby retract it from the
submission queue. :-(
--
Mark Mitchell mark@markmitchell.com
Mark Mitchell Consulting http://www.markmitchell.com