[Bug middle-end/35854] [4.3/4.4 Regression] life passes dump option still documented
--- Comment #6 from zadeck at gcc dot gnu dot org 2009-01-29 14:35 --- Subject: Bug 35854 Author: zadeck Date: Thu Jan 29 14:34:55 2009 New Revision: 143756 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143756 Log: 2009-01-29 Kenneth Zadeck zad...@naturalbridge.com PR middle-end/35854 * doc/invoke.texi (rtl debug options): Complete rewrite. * auto-inc-dec.c (pass_inc_dec): Rename pass from auto-inc-dec to auto_inc_dec. * mode-switching.c (pass_mode_switching): Rename pass from mode-sw to mode_sw. * except.c (pass_convert_to_eh_ranges): Rename pass from eh-ranges to eh_ranges. * lower-subreg.c (pass_lower_subreg): Renamed pass from subreg to subreg1. 2009-01-29 Kenneth Zadeck zad...@naturalbridge.com PR middle-end/35854 * gcc.dg/lower-subreg-1.c: Renamed dump pass from subreg to subreg1 Modified: trunk/gcc/ChangeLog trunk/gcc/auto-inc-dec.c trunk/gcc/doc/invoke.texi trunk/gcc/except.c trunk/gcc/lower-subreg.c trunk/gcc/mode-switching.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/lower-subreg-1.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35854
[Bug middle-end/35854] [4.3/4.4 Regression] life passes dump option still documented
--- Comment #7 from zadeck at naturalbridge dot com 2009-01-29 14:38 --- Subject: Re: [4.3/4.4 Regression] life passes dump option still documented Richard Guenther wrote: On Wed, Jan 28, 2009 at 5:03 PM, Kenneth Zadeck zad...@naturalbridge.com wrote: rguenth at gcc dot gnu dot org wrote: --- Comment #3 from rguenth at gcc dot gnu dot org 2009-01-24 10:20 --- GCC 4.3.3 is being released, adjusting target milestone. This may be more a change than is acceptable right now for 4.4. If so I will sit on this patch until 4.5 opens up. The patch is basically a complete rewrite of the part of invoke.texi that deals with dump options for the rtl pass. This section had badly rotted. I started from a grep of the sources looking for rtl_opt_pass and documented all of the passes that i found in mostly alphabetical order. Where the old version documented several passes together, I kept that unless things had changed. In total there were about a half dozen passes that were no longer there and about a dozen new passes that had not been documented. I did make some changes in the code, which is the reason that this may not be acceptable to 4.4. The changes are pretty harmless: all of them involve either removing the pass name or changing it. 1) Pass names that contained dashes had the dashes changed to underscores. About half used slashes and half underscores and I went with underscores to avoid a possible ambiguity with the options parsing. 2) I also removed the pass name from 6 passes that do not print anything or dump the code. I think this change is agains what was asked for in the past. We want to have pass names for all passes. 3) Files that contained multiple passes with names of the form xx, xx2... were renamed xx1,xx2. This later change causes a test suit failure which was fixed. All of these changes are pretty minor. The only possible failure these can cause are in the test suite where dump files are scanned. I tested this on x86 and ppc both 32 and 64. It is possible that there are platform specific regression tests that scan for dump files that were not caught on these four targets. I also left in lreg and greg.These are at the end and need to be deleted along with those passes. I have enclosed a copy of the new text. The diff is unreadable. ok for 4.4 or should i wait for 4.5? This is ok for 4.4 if you remove the parts that remove pass names. Please wait a day for comments from others. Thanks, Richard. I put those pass names back, but I documented them as producing no output. I also removed the lreg and greg part since the RA removal patch has been approved. committed as revision 143756 kenny 2009-01-29 Kenneth Zadeck zad...@naturalbridge.com PR middle-end/35854 * doc/invoke.texi (rtl debug options): Complete rewrite. * auto-inc-dec.c (pass_inc_dec): Rename pass from auto-inc-dec to auto_inc_dec. * mode-switching.c (pass_mode_switching): Rename pass from mode-sw to mode_sw. * except.c (pass_convert_to_eh_ranges): Rename pass from eh-ranges to eh_ranges. * lower-subreg.c (pass_lower_subreg): Renamed pass from subreg to subreg1. 2009-01-29 Kenneth Zadeck zad...@naturalbridge.com PR middle-end/35854 * gcc.dg/lower-subreg-1.c: Renamed dump pass from subreg to subreg1 Index: doc/invoke.texi === --- doc/invoke.texi (revision 143754) +++ doc/invoke.texi (working copy) @@ -4545,172 +4545,275 @@ preprocessing. Debug dumps can be enabled with a @option{-fdump-rtl} switch or some @option{-d} option @var{letters}. Here are the possible -letters for use in @var{letters} and @var{pass}, and their meanings: +letters for use in @var{pass} and @var{letters}, and their meanings: @table @gcctabopt -...@item -dA -...@opindex dA -Annotate the assembler output with miscellaneous debugging information. + +...@item -fdump-rtl-alignments +...@opindex fdump-rtl-alignments +Dump after branch alignments have been computed. + +...@item -fdump-rtl-asmcons +...@opindex fdump-rtl-asmcons +Dump after fixing rtl statements that have unsatisfied in/out constraints. + +...@item -fdump-rtl-auto_inc_dec +...@opindex fdump-rtl-auto_inc_dec +Dump after auto-inc-dec discovery. This pass is only run on +architectures that have auto inc or auto dec instructions. + +...@item -fdump-rtl-barriers +...@opindex fdump-rtl-barriers +Dump after cleaning up the barrier instructions. + +...@item -fdump-rtl-bbpart +...@opindex fdump-rtl-bbpart +Dump after partitioning hot and cold basic blocks. @item -fdump-rtl-bbro @opindex fdump-rtl-bbro -Dump after block reordering, to @fi...@var{file}.148r.bbro}. +Dump after block reordering. + +...@item -fdump-rtl-btl1 +...@itemx -fdump-rtl-btl2 +...@opindex fdump-rtl-btl2 +...@opindex fdump-rtl-btl2 +...@option{-fdump-rtl-btl1} and
[Bug middle-end/35854] [4.3/4.4 Regression] life passes dump option still documented
--- Comment #8 from zadeck at naturalbridge dot com 2009-01-29 14:42 --- patch committed. closed for 4.4. richi said not to backport to 4.3 on irc. -- zadeck at naturalbridge dot com changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35854
[Bug middle-end/35854] [4.3/4.4 Regression] life passes dump option still documented
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.3.4 |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35854
[Bug middle-end/35854] [4.3/4.4 Regression] life passes dump option still documented
--- Comment #4 from zadeck at naturalbridge dot com 2009-01-28 16:03 --- Subject: Re: [4.3/4.4 Regression] life passes dump option still documented rguenth at gcc dot gnu dot org wrote: --- Comment #3 from rguenth at gcc dot gnu dot org 2009-01-24 10:20 --- GCC 4.3.3 is being released, adjusting target milestone. This may be more a change than is acceptable right now for 4.4. If so I will sit on this patch until 4.5 opens up. The patch is basically a complete rewrite of the part of invoke.texi that deals with dump options for the rtl pass. This section had badly rotted. I started from a grep of the sources looking for rtl_opt_pass and documented all of the passes that i found in mostly alphabetical order. Where the old version documented several passes together, I kept that unless things had changed. In total there were about a half dozen passes that were no longer there and about a dozen new passes that had not been documented. I did make some changes in the code, which is the reason that this may not be acceptable to 4.4. The changes are pretty harmless: all of them involve either removing the pass name or changing it. 1) Pass names that contained dashes had the dashes changed to underscores. About half used slashes and half underscores and I went with underscores to avoid a possible ambiguity with the options parsing. 2) I also removed the pass name from 6 passes that do not print anything or dump the code. 3) Files that contained multiple passes with names of the form xx, xx2... were renamed xx1,xx2. This later change causes a test suit failure which was fixed. All of these changes are pretty minor. The only possible failure these can cause are in the test suite where dump files are scanned. I tested this on x86 and ppc both 32 and 64. It is possible that there are platform specific regression tests that scan for dump files that were not caught on these four targets. I also left in lreg and greg.These are at the end and need to be deleted along with those passes. I have enclosed a copy of the new text. The diff is unreadable. ok for 4.4 or should i wait for 4.5? Kenny 2009-01-28 Kenneth Zadeck zad...@naturalbridge.com PR middle-end/35854 * doc/invoke.texi (rtl debug options): Complete rewrite. * auto-inc-dec.c (pass_inc_dec): Rename pass from auto-inc-dec to auto_inc_dec. * df-core.c (df_pass_initialize_opt, df_pass_initialize_no_opt, df_pass_finish): Removed pass name. * mode-switching.c (pass_mode_switching): Rename pass from mode-sw to mode_sw. * except.c (pass_convert_to_eh_ranges): Rename pass from eh-ranges to eh_ranges. * regclass.c (pass_regclass_init, pass_subregs_of_mode_init, pass_subregs_of_mode_finish): Removed pass name. * lower-subreg.c (pass_lower_subreg): Renamed pass from subreg to subreg1. 2009-01-28 Kenneth Zadeck zad...@naturalbridge.com PR middle-end/35854 * gcc.dg/lower-subreg-1.c: Renamed dump pass from subreg to subreg1 == @item -...@var{letters} @itemx -fdump-r...@var{pass} @opindex d Says to make debugging dumps during compilation at times specified by @var{letters}.This is used for debugging the RTL-based passes of the compiler. The file names for most of the dumps are made by appending a pass number and a word to the @var{dumpname}. @var{dumpname} is generated from the name of the output file, if explicitly specified and it is not an executable, otherwise it is the basename of the source file. These switches may have different effects when @option{-E} is used for preprocessing. Debug dumps can be enabled with a @option{-fdump-rtl} switch or some @option{-d} option @var{letters}. Here are the possible letters for use in @var{pass} and @var{letters}, and their meanings: @table @gcctabopt @item -fdump-rtl-alignments @opindex fdump-rtl-alignments Dump after branch alignments have been computed. @item -fdump-rtl-asmcons @opindex fdump-rtl-asmcons Dump after fixing rtl statements that have unsatisfied in/out constraints. @item -fdump-rtl-auto_inc_dec @opindex fdump-rtl-auto_inc_dec Dump after auto-inc-dec discovery. This pass is only run on architectures that have auto inc or auto dec instructions. @item -fdump-rtl-barriers @opindex fdump-rtl-barriers Dump after cleaning up the barrier instructions. @item -fdump-rtl-bbpart @opindex fdump-rtl-bbpart Dump after partitioning hot and cold basic blocks. @item -fdump-rtl-bbro @opindex fdump-rtl-bbro Dump after block reordering. @item -fdump-rtl-btl1 @itemx -fdump-rtl-btl2 @opindex fdump-rtl-btl2 @opindex fdump-rtl-btl2 @option{-fdump-rtl-btl1} and @option{-fdump-rtl-btl2} enable dumping after the two branch target load optimization passes. @item -fdump-rtl-bypass @opindex fdump-rtl-bypass Dump after jump bypassing and control flow optimizations. @item -fdump-rtl-combine @opindex fdump-rtl-combine Dump after the RTL instruction combination pass.
[Bug middle-end/35854] [4.3/4.4 Regression] life passes dump option still documented
--- Comment #5 from richard dot guenther at gmail dot com 2009-01-28 19:42 --- Subject: Re: [4.3/4.4 Regression] life passes dump option still documented On Wed, Jan 28, 2009 at 5:03 PM, Kenneth Zadeck zad...@naturalbridge.com wrote: rguenth at gcc dot gnu dot org wrote: --- Comment #3 from rguenth at gcc dot gnu dot org 2009-01-24 10:20 --- GCC 4.3.3 is being released, adjusting target milestone. This may be more a change than is acceptable right now for 4.4. If so I will sit on this patch until 4.5 opens up. The patch is basically a complete rewrite of the part of invoke.texi that deals with dump options for the rtl pass. This section had badly rotted. I started from a grep of the sources looking for rtl_opt_pass and documented all of the passes that i found in mostly alphabetical order. Where the old version documented several passes together, I kept that unless things had changed. In total there were about a half dozen passes that were no longer there and about a dozen new passes that had not been documented. I did make some changes in the code, which is the reason that this may not be acceptable to 4.4. The changes are pretty harmless: all of them involve either removing the pass name or changing it. 1) Pass names that contained dashes had the dashes changed to underscores. About half used slashes and half underscores and I went with underscores to avoid a possible ambiguity with the options parsing. 2) I also removed the pass name from 6 passes that do not print anything or dump the code. I think this change is agains what was asked for in the past. We want to have pass names for all passes. 3) Files that contained multiple passes with names of the form xx, xx2... were renamed xx1,xx2. This later change causes a test suit failure which was fixed. All of these changes are pretty minor. The only possible failure these can cause are in the test suite where dump files are scanned. I tested this on x86 and ppc both 32 and 64. It is possible that there are platform specific regression tests that scan for dump files that were not caught on these four targets. I also left in lreg and greg.These are at the end and need to be deleted along with those passes. I have enclosed a copy of the new text. The diff is unreadable. ok for 4.4 or should i wait for 4.5? This is ok for 4.4 if you remove the parts that remove pass names. Please wait a day for comments from others. Thanks, Richard. Kenny 2009-01-28 Kenneth Zadeck zad...@naturalbridge.com PR middle-end/35854 * doc/invoke.texi (rtl debug options): Complete rewrite. * auto-inc-dec.c (pass_inc_dec): Rename pass from auto-inc-dec to auto_inc_dec. * df-core.c (df_pass_initialize_opt, df_pass_initialize_no_opt, df_pass_finish): Removed pass name. * mode-switching.c (pass_mode_switching): Rename pass from mode-sw to mode_sw. * except.c (pass_convert_to_eh_ranges): Rename pass from eh-ranges to eh_ranges. * regclass.c (pass_regclass_init, pass_subregs_of_mode_init, pass_subregs_of_mode_finish): Removed pass name. * lower-subreg.c (pass_lower_subreg): Renamed pass from subreg to subreg1. 2009-01-28 Kenneth Zadeck zad...@naturalbridge.com PR middle-end/35854 * gcc.dg/lower-subreg-1.c: Renamed dump pass from subreg to subreg1 == @item -...@var{letters} @itemx -fdump-r...@var{pass} @opindex d Says to make debugging dumps during compilation at times specified by @var{letters}.This is used for debugging the RTL-based passes of the compiler. The file names for most of the dumps are made by appending a pass number and a word to the @var{dumpname}. @var{dumpname} is generated from the name of the output file, if explicitly specified and it is not an executable, otherwise it is the basename of the source file. These switches may have different effects when @option{-E} is used for preprocessing. Debug dumps can be enabled with a @option{-fdump-rtl} switch or some @option{-d} option @var{letters}. Here are the possible letters for use in @var{pass} and @var{letters}, and their meanings: @table @gcctabopt @item -fdump-rtl-alignments @opindex fdump-rtl-alignments Dump after branch alignments have been computed. @item -fdump-rtl-asmcons @opindex fdump-rtl-asmcons Dump after fixing rtl statements that have unsatisfied in/out constraints. @item -fdump-rtl-auto_inc_dec @opindex fdump-rtl-auto_inc_dec Dump after auto-inc-dec discovery. This pass is only run on architectures that have auto inc or auto dec instructions. @item -fdump-rtl-barriers @opindex fdump-rtl-barriers Dump after cleaning up the barrier instructions. @item -fdump-rtl-bbpart @opindex fdump-rtl-bbpart Dump after partitioning hot and cold basic blocks. @item -fdump-rtl-bbro @opindex fdump-rtl-bbro Dump after block reordering. @item -fdump-rtl-btl1 @itemx -fdump-rtl-btl2
[Bug middle-end/35854] [4.3/4.4 Regression] life passes dump option still documented
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-01-24 10:20 --- GCC 4.3.3 is being released, adjusting target milestone. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.3.3 |4.3.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35854
[Bug middle-end/35854] [4.3/4.4 Regression] life passes dump option still documented
--- Comment #2 from jsm28 at gcc dot gnu dot org 2008-08-27 22:03 --- 4.3.2 is released, changing milestones to 4.3.3. -- jsm28 at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.3.2 |4.3.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35854
[Bug middle-end/35854] [4.3/4.4 Regression] life passes dump option still documented
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2008-06-01 23:59:07 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35854
[Bug middle-end/35854] [4.3/4.4 Regression] life passes dump option still documented
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35854
[Bug middle-end/35854] [4.3/4.4 Regression] life passes dump option still documented
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||zadeck at gcc dot gnu dot ||org Target Milestone|--- |4.3.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35854