This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC Status Report (2004-03-21)
On Tue, Mar 23, 2004 at 06:10:42PM +0100, Jan Hubicka wrote:
> Hi,
> here is the updated patch. It bootstraped i686-pc-gnu-linux and I am
> running full testing on mainline and branch i686/ppc now.
> It fixes the problems with wrong gcov counts caused by BB manipulation
> and hope it will be acceptable for Daniel too. I worry relatively
> little about what direction the defaults are, obviously we need to
> revisit most of the emit* calls anyway.
>
> Honza
>
> 2004-03-23 Jan Hubicka <jh@suse.cz>
> * cfgrtl.c (try_redirect_by_replacing_jump,
> force_nonfallthru_and_redirect, commit_one_edge_insertion,
> cfg_layout_merge_blocks): Do not attach any line number information
> to newly inserted instructions.
> * emit-rtl.c (emit_insn*_before, emit_insn*_after): Rename to
> emit_insn_*_noloc.
> (emit_*insn_before, emit_insn*_after): New.
> (emit_*insn_before_setloc, emit_*insn_after_setloc): Do not overwrite
> existing locators.
> * rtl.h (emit_*insn_before_noloc, emit_*insn_after_noloc): Declare.
> (emit_*insn_before_sameloc, emit_*insn_after_sameloc): Kill.
Works for me. I had an interesting discussion a couple of days ago
about actually expressing "no line number" in the dwarf output; it's
not clear what the debugger can do with this information, but there are
some possibilities.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer