[Bug other/55164] [4.8 Regression] -fdump-*-all not working

2012-11-01 Thread jakub at gcc dot gnu.org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55164



Jakub Jelinek  changed:



   What|Removed |Added



 Status|UNCONFIRMED |NEW

   Last reconfirmed||2012-11-01

 CC||jakub at gcc dot gnu.org

   Target Milestone|--- |4.8.0

Summary|-fdump-*-all not working|[4.8 Regression]

   ||-fdump-*-all not working

 Ever Confirmed|0   |1


[Bug other/55164] [4.8 Regression] -fdump-*-all not working

2012-11-01 Thread singhai at google dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55164



--- Comment #1 from singhai at google dot com 2012-11-01 16:26:21 UTC ---

Found the culprit. A flag was accidentally committed in wrong order.

The following patch fixes it. I am testing it.



Thanks,

Sharad



2012-11-01  Sharad Singhai  



PR other/55164

* dumpfile.h (struct dump_file_info): Fix order of flags.



Index: dumpfile.h

===

--- dumpfile.h (revision 193061)

+++ dumpfile.h (working copy)

@@ -113,8 +113,8 @@ struct dump_file_info

   const char *alt_filename; /* filename for the -fopt-info stream  */

   FILE *pstream;/* pass-specific dump stream  */

   FILE *alt_stream; /* -fopt-info stream */

+  int pflags;   /* dump flags */

   int optgroup_flags;   /* optgroup flags for -fopt-info */

-  int pflags;   /* dump flags */

   int alt_flags;/* flags for opt-info */

   int pstate;   /* state of pass-specific stream */

   int alt_state;/* state of the -fopt-info stream */


[Bug other/55164] [4.8 Regression] -fdump-*-all not working

2012-11-01 Thread singhai at gcc dot gnu.org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55164



--- Comment #2 from Sharad Singhai  2012-11-01 
17:55:46 UTC ---

Author: singhai

Date: Thu Nov  1 17:55:23 2012

New Revision: 193064



URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193064

Log:

2012-11-01  Sharad Singhai  



PR other/55164

* dumpfile.h (struct dump_file_info): Fix order of flags.



Modified:

trunk/gcc/ChangeLog

trunk/gcc/dumpfile.h


[Bug other/55164] [4.8 Regression] -fdump-*-all not working

2012-11-01 Thread singhai at gcc dot gnu.org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55164



Sharad Singhai  changed:



   What|Removed |Added



 Status|NEW |RESOLVED

 Resolution||FIXED



--- Comment #3 from Sharad Singhai  2012-11-01 
18:05:53 UTC ---

This should be fixed now at r193064.