Fix wrong usage of dump_printf_loc (PR tree-optimization/90416).

2019-05-13  Martin Liska  <mliska@suse.cz>

	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
This commit is contained in:
Martin Liska 2019-05-13 12:26:09 +02:00 committed by Martin Liska
parent 2e9ff3bbe2
commit 6db881be90
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2019-05-13 Martin Liska <mliska@suse.cz>
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 <mliska@suse.cz>
PR gcov-profile/90380

View File

@ -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);