This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: debug/4252 cc1: Invalid option `-fdump-translation-unit'


The following reply was made to PR debug/4252; it has been noted by GNATS.

From: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
To: Craig Rodrigues <rodrigc@mediaone.net>
Cc: <gcc-patches@gcc.gnu.org>, <gcc-gnats@gcc.gnu.org>,
   Nathan Sidwell <nathan@codesourcery.com>
Subject: Re: debug/4252 cc1: Invalid option `-fdump-translation-unit'
Date: Mon, 22 Oct 2001 09:42:18 +0200 (CEST)

 On Sun, 21 Oct 2001, Craig Rodrigues wrote:
 > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4252&database=gcc
 >
 > -fdump-translation-unit has been removed from gcc, so it should
 > be removed from the documentation as well.
 
 It seems Nathan missed that when removing said flag with:
 
   2001-06-05  Nathan Sidwell  <nathan@codesourcery.com>
 
         * c-common.h (flag_dump_translation_unit): Remove.
         (enum tree_dump_index): Define.
         (TDF_ADDRESS, TDF_SLIM): New #defines.
         (dump_node_to_file): Remove.
         (dump_node): Make extern. Add flags.
         (dump_flag, dump_enabled_p, dump_begin, dump_end,
         dump_switch_p): Prototype.
         * c-common.c (flag_dump_translation_unit): Remove.
         * c-decl.c (c_decode_option): Remove -fdump-translation-unit
         logic. Use dump_switch_p.
         * c-dump.h (struct dump_info): Add node and user fields.
         (dump_pointer): Declare.
         * c-dump.c (dump_node): Make extern. Add flags.
         (SOL_COLUMN, EOL_COLUMN, COLUMN_ALIGNMENT): New #defines.
         (dump_new_line, dump_maybe_newline): Use them.
         (dump_pointer): New function.
         (dequeue_and_dump): Check TDF_SLIM before dumping a _DECL's
         chain or function's body. Dump address, if TDF_ADDRESS set.
         (dump_flag): Define.
         (dump_node_to_file): Remove.
         (struct dump_file_info): New struct.
         (dump_files): New array.
         (dump_begin, dump_end, dump_enabled_p, dump_switch_p): Define.
         * c-lang.c (finish_file): Adjust dumping.
         * toplev.h (dump_base_name): Make extern.
         * invoke.texi: Document new flags.
 
 > 2001-10-21  Craig Rodrigues  <rodrigc@gcc.gnu.org>
 >
 > 	PR debug/4252
 > 	* doc/invoke.texi: Remove references to -fdump-translation-unit
 
 Installed, thanks.  (I added a full-stop at the end of the ChangeLog
 entry.)
 
 Gerald
 -- 
 Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/
 
 
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]