This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Improve dumping CALL_INSN_FUNCTION_USAGE


> This is something that has annyoed me for quite some time, but never got
> around to do anything about it.  The EXPR_LIST mode in
> CALL_INSN_FUNCTION_USAGE never means the various REG_DEAD/REG_CFA* etc.
> note names, always normal mode, so e.g. when one is looking for REG_CFA*
> notes, the calls can confuse it, and when looking at calls, one has to
> look up the REG_* values and convert them to enum machine_mode in the
> debugger.

You're not alone here. :-)
 
> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
> 
> 2014-01-22  Jakub Jelinek  <jakub@redhat.com>
> 
> 	* print-rtl.c (in_call_function_usage): New var.
> 	(print_rtx): When in CALL_INSN_FUNCTION_USAGE, always print
> 	EXPR_LIST mode as mode and not as reg note name.

OK, thanks for fixing this.

-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]