From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4170 invoked by alias); 5 Jul 2007 12:41:54 -0000 Received: (qmail 4162 invoked by uid 22791); 5 Jul 2007 12:41:53 -0000 X-Spam-Check-By: sourceware.org Received: from wr-out-0506.google.com (HELO wr-out-0506.google.com) (64.233.184.226) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 05 Jul 2007 12:41:49 +0000 Received: by wr-out-0506.google.com with SMTP id 67so553312wri for ; Thu, 05 Jul 2007 05:41:46 -0700 (PDT) Received: by 10.90.106.11 with SMTP id e11mr7617600agc.1183639306627; Thu, 05 Jul 2007 05:41:46 -0700 (PDT) Received: by 10.90.50.14 with HTTP; Thu, 5 Jul 2007 05:41:46 -0700 (PDT) Message-ID: <5787cf470707050541w364c9b28g1f5c58e6f1a45cc7@mail.gmail.com> Date: Thu, 05 Jul 2007 13:11:00 -0000 From: "Uros Bizjak" To: gcc-patches Subject: [PATCH, rtl]: Print note insn names in RTL dumps Cc: "Jan Hubicka" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2007-07/txt/msg00432.txt.bz2 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 * 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.