From 184c21bf1cd04a108ed9bd04635e7d57ac39f616 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Wed, 10 Jun 2020 23:58:23 -0300 Subject: [PATCH] slim up mem exprs to avoid line breaks in -fverbose-asm An asm operand with a "VIEW_CONVERT_EXPR" 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. --- gcc/print-rtl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c index 611ea079c37..25265efc71b 100644 --- a/gcc/print-rtl.c +++ b/gcc/print-rtl.c @@ -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 -- 2.30.2