From: Martin Liska Date: Mon, 13 May 2019 10:26:09 +0000 (+0200) Subject: Fix wrong usage of dump_printf_loc (PR tree-optimization/90416). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6db881be90d9b953ed48c69f6ecbdbb534d8d678;p=gcc.git Fix wrong usage of dump_printf_loc (PR tree-optimization/90416). 2019-05-13 Martin Liska PR tree-optimization/90416 * tree-vect-stmts.c (vect_check_load_store_mask): Concatenate string instead of passing the second part as va_arg argument. From-SVN: r271118 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8fe1a9eeaa7..f599fc2c06a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2019-05-13 Martin Liska + + PR tree-optimization/90416 + * tree-vect-stmts.c (vect_check_load_store_mask): Concatenate + string instead of passing the second part as va_arg argument. + 2019-05-13 Martin Liska PR gcov-profile/90380 diff --git a/gcc/tree-vect-stmts.c b/gcc/tree-vect-stmts.c index ced4264722c..4ed60808a65 100644 --- a/gcc/tree-vect-stmts.c +++ b/gcc/tree-vect-stmts.c @@ -2592,7 +2592,7 @@ vect_check_load_store_mask (stmt_vec_info stmt_info, tree mask, { if (dump_enabled_p ()) dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location, - "vector mask type %T", + "vector mask type %T" " does not match vector data type %T.\n", mask_vectype, vectype);