From: Alexandre Oliva Date: Thu, 11 Jun 2020 02:58:23 +0000 (-0300) Subject: slim up mem exprs to avoid line breaks in -fverbose-asm X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=184c21bf1cd04a108ed9bd04635e7d57ac39f616;p=gcc.git 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. --- 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