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]

[PATCH] Use x{v,}asprintf some more


Hello!

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?

Uros.

Attachment: p.diff.txt
Description: Text document


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