diff options
author | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-27 21:52:39 +0000 |
---|---|---|
committer | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-27 21:52:39 +0000 |
commit | 3a55c112b92d0ef76f0a956b6c3b826037c1be8f (patch) | |
tree | c3ffb1e215f4907529c744c4900ca89040e35856 /gcc/print-rtl.c | |
parent | b78351e5b501a68b78169103678db806cf610607 (diff) | |
download | gcc-3a55c112b92d0ef76f0a956b6c3b826037c1be8f.tar.gz |
* rtl.def (DEBUG_INSN, INSN, JUMP_INSN, CALL_INSN, NOTE): Swap operands
4 and 5.
* rtl.h (PATTERN, INSN_LOCATOR, NOTE_DATA, NOTE_DELETED_LABEL_NAME,
NOTE_BLOCK, NOTE_EH_HANDLER, NOTE_BASIC_BLOCK, NOTE_VAR_LOCATION,
NOTE_KIND, LABEL_NUSES, LABEL_REFS): Adjust accordingly.
* gengtype.c (adjust_field_rtx_def): Swap operands 4 and 5 of
CODE_LABELs and NOTEs.
* caller-save.c (init_caller_save): Fix up gen_rtx_INSN call.
* combine.c (try_combine): Likewise.
* ira.c (setup_prohibited_mode_move_regs): Likewise.
* print-rtl.c (print_rtx): Start REG_NOTES on a new line.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162602 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-rtl.c')
-rw-r--r-- | gcc/print-rtl.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c index 96e1485b6ae..8801a88153e 100644 --- a/gcc/print-rtl.c +++ b/gcc/print-rtl.c @@ -333,6 +333,10 @@ print_rtx (const_rtx in_rtx) case 'e': do_e: indent += 2; + if (i == 7 && INSN_P (in_rtx)) + /* Put REG_NOTES on their own line. */ + fprintf (outfile, "\n%s%*s", + print_rtx_head, indent * 2, ""); if (!sawclose) fprintf (outfile, " "); print_rtx (XEXP (in_rtx, i)); @@ -378,7 +382,7 @@ print_rtx (const_rtx in_rtx) break; case 'i': - if (i == 4 && INSN_P (in_rtx)) + if (i == 5 && INSN_P (in_rtx)) { #ifndef GENERATOR_FILE /* Pretty-print insn locators. Ignore scoping as it is mostly |