diff options
author | Alexandre Oliva <oliva@adacore.com> | 2020-06-10 23:58:23 -0300 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 13:11:52 -0300 |
commit | 9deeae888d00ef8c5f32ea4e027f159b462a9dff (patch) | |
tree | 29bf895b030e8ee003cc8aad8e5e087d6992a7a1 | |
parent | 7483c7219c8594b55ccb560aa7e1b9c9eaf109e3 (diff) | |
download | gcc-9deeae888d00ef8c5f32ea4e027f159b462a9dff.zip gcc-9deeae888d00ef8c5f32ea4e027f159b462a9dff.tar.gz gcc-9deeae888d00ef8c5f32ea4e027f159b462a9dff.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.
-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 |