slim up mem exprs to avoid line breaks in -fverbose-asm

An asm operand with a "VIEW_CONVERT_EXPR<struct {
  [...]
}>" will output the definition of the struct as asm code.  Oops.

Enable TDF_SLIM in print_mem_expr to avoid such line breaks.


for  gcc/ChangeLog

	* print-rtl.c (print_mem_expr): Enable TDF_SLIM in dump_flags.
This commit is contained in:
Alexandre Oliva 2020-06-10 23:58:23 -03:00 committed by Alexandre Oliva
parent dcf41a4e60
commit 184c21bf1c

View file

@ -183,7 +183,8 @@ void
print_mem_expr (FILE *outfile, const_tree expr)
{
fputc (' ', outfile);
print_generic_expr (outfile, CONST_CAST_TREE (expr), dump_flags);
print_generic_expr (outfile, CONST_CAST_TREE (expr),
dump_flags | TDF_SLIM);
}
#endif