public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Uros Bizjak" <ubizjak@gmail.com>
To: gcc-patches <gcc-patches@gcc.gnu.org>
Cc: "Jan Hubicka" <jh@suse.cz>
Subject: [PATCH, rtl]: Print note insn names in RTL dumps
Date: Thu, 05 Jul 2007 13:11:00 -0000	[thread overview]
Message-ID: <5787cf470707050541w364c9b28g1f5c58e6f1a45cc7@mail.gmail.com> (raw)

Hello!

Since r124859 [1], NOTE_INSN names are not printed anymore in RTL
dumps. Attached patch re-introduces them into the dumps.

Patch was bootstrapped/regtested on i686-pc-linux-gnu. Additionally, a
large c++ application was compiled using -da.

2007-07-05  Uros Bizjak  <ubizjak@gmail.com>

	* rtl.def (NOTE): Change print format string to print
	operand 5 as a note insn name.

OK for mainline?

[1] http://gcc.gnu.org/ml/gcc-cvs/2007-05/msg00594.html

Index: rtl.def
===================================================================
--- rtl.def     (revision 126361)
+++ rtl.def     (working copy)
@@ -140,9 +140,9 @@
 /* Say where in the code a source line starts, for symbol table's sake.
    Operand:
    4: note-specific data
-   5: unused (memory layout has to match code_label above)
+   5: enum insn_note
    6: unique number if line number == note_insn_deleted_label.  */
-DEF_RTL_EXPR(NOTE, "note", "iuuB00i", RTX_EXTRA)
+DEF_RTL_EXPR(NOTE, "note", "iuuB0ni", RTX_EXTRA)

 /* ----------------------------------------------------------------------
    Top level constituents of INSN, JUMP_INSN and CALL_INSN.

             reply	other threads:[~2007-07-05 12:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-05 13:11 Uros Bizjak [this message]
2007-07-05 15:32 ` Jan Hubicka
2007-07-06  3:18   ` Mark Mitchell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5787cf470707050541w364c9b28g1f5c58e6f1a45cc7@mail.gmail.com \
    --to=ubizjak@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jh@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).