This is the mail archive of the gcc@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]
Other format: [Raw text]

Need help on tree-dumps in c3.2


Hello,

 I want to be able to use the -fdump-tree-original switch in gcc c3.2

 In c-decl.c (line 627) we have:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  else if (!strncmp (p, "-fno-builtin-", strlen ("-fno-builtin-")))
    disable_builtin_function (p + strlen ("-fno-builtin-"));
  else if (p[0] == '-' && p[1] == 'f' && dump_switch_p (p + 2)) <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    ;
  else if (!strcmp (p, "-ansi"))
    goto iso_1990;
----------------------------------------------------------------

 So, it seems like at the moment, the switch is simply accepted, nothing really happens...

 I'd appreciate greatly if you could advice on the code to be added (or if you could provide me a patch) so that I get
 tree-dumps of my source.

 Also, will this tree-dump have *all* the information in the original source (unlike the RTL dump)?

 Thanks very much.

Regards,
Anmol.


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