trans-array.c (trans_array_bound_check): Use xasprintf instead of unchecked asprintf.
authorUros Bizjak <ubizjak@gmail.com>
Wed, 31 Dec 2014 14:50:10 +0000 (15:50 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 31 Dec 2014 14:50:10 +0000 (15:50 +0100)
commit1a33dc9ec24fed0406de07f54e0442915e3cfedb
tree5b0e17f5acd2cb905b0d28cea526ba21ab59c791
parente8ef82d74f40e216b3a1c9707a79a3bd0b6c953d
trans-array.c (trans_array_bound_check): Use xasprintf instead of unchecked asprintf.

* trans-array.c (trans_array_bound_check): Use xasprintf instead
of unchecked asprintf.
(gfc_conv_array_ref): Ditto.
(gfc_conv_ss_startstride): Ditto.
(gfc_trans_dummy_array_bias): Ditto.
(gfc_conv_array_parameter): Ditto.
* trans-decl.c (gfc_generate_function_code): Ditto.
* trans-expr.c (gfc_conv_substring): Ditto.
(gfc_conv_procedure_call): Ditto.
* trans-io.c (gfc_trans_io_runtime_check): Ditto.
(set_string): Ditto.
* trans.c (trans-runtime_error_vararg): Ditto.

From-SVN: r219126
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/fortran/trans-decl.c
gcc/fortran/trans-expr.c
gcc/fortran/trans-io.c
gcc/fortran/trans.c