diff options
author | Alexandre Oliva <oliva@adacore.com> | 2020-06-10 23:58:23 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2020-06-10 23:58:23 -0300 |
commit | 184c21bf1cd04a108ed9bd04635e7d57ac39f616 (patch) | |
tree | 3ee03049069cb4e861474bacfc5b8600fce03d3f /gcc/print-rtl.c | |
parent | dcf41a4e6033213f5e5f80da23080df961d83996 (diff) | |
download | gcc-184c21bf1cd04a108ed9bd04635e7d57ac39f616.zip gcc-184c21bf1cd04a108ed9bd04635e7d57ac39f616.tar.gz gcc-184c21bf1cd04a108ed9bd04635e7d57ac39f616.tar.bz2 |
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.
Diffstat (limited to 'gcc/print-rtl.c')
-rw-r--r-- | gcc/print-rtl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c index 611ea07..25265ef 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 |