This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Use x{v,}asprintf some more
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: Richard Biener <rguenther at suse dot de>
- Date: Wed, 31 Dec 2014 11:51:18 +0100
- Subject: Re: [PATCH] Use x{v,}asprintf some more
- Authentication-results: sourceware.org; auth=none
- References: <CAFULd4ZSSeXOZS-WbMwdNM5VfLLgELKk-WGS=hoKbDTTXCWQfg at mail dot gmail dot com>
On Fri, Dec 26, 2014 at 2:00 PM, Uros Bizjak <ubizjak@gmail.com> wrote:
> This patch uses x{v,}asprintf where the result of the function is unused.
>
> 2014-12-26 Uros Bizjak <ubizjak@gmail.com>
>
> * diagnostic.c (build_message_string): Use xvasprintf.
> * final.c (output_operand_lossage): Use xvasprintf and xasprintf.
> * lto-wrapper.c (merge_and_complain): Use xasprintf.
> * targhooks.c (pch_option_mismatch): Ditto.
> * tree-ssa-structalias.c (create_function_info_for): Ditto.
> (create_variable_info_for_1): Ditto.
>
> Bootstrapped and regression tested on x86_64-linux-gnu {,-m32}.
>
> OK for mainline?
Approved offline by Richi.
Committed to mainline SVN.
Uros.