This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Improve dumping CALL_INSN_FUNCTION_USAGE
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 24 Jan 2014 23:04 +0100
- Subject: Re: [PATCH] Improve dumping CALL_INSN_FUNCTION_USAGE
- Authentication-results: sourceware.org; auth=none
- References: <20140124212033 dot GA892 at tucnak dot redhat dot com>
> 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