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] Use x{v,}asprintf some more


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.


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