From 6db881be90d9b953ed48c69f6ecbdbb534d8d678 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Mon, 13 May 2019 12:26:09 +0200 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/tree-vect-stmts.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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); -- 2.30.2