This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Need help on tree-dumps in c3.2
- From: Anmol Paralkar <aparalka at cisco dot com>
- To: gcc at gcc dot gnu dot org
- Cc: Anmol Paralkar <aparalka at cisco dot com>
- Date: Sat, 8 Feb 2003 19:54:44 +0530 (IST)
- Subject: 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.