This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Make combine dumps look like all the others
- To: gcc-patches@gcc.gnu.org
- Subject: Make combine dumps look like all the others
- From: Bernd Schmidt <bernds@cygnus.co.uk>
- Date: Tue, 24 Aug 1999 19:51:11 +0100 (BST)
I noticed this little problem when printing the dumps for a C++ program.
Bernd
* toplev.c (rest_of_compilation): Use decl_printable_name when
opening the combiner dump file.
Index: toplev.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/toplev.c,v
retrieving revision 1.195
diff -u -p -r1.195 toplev.c
--- toplev.c 1999/08/24 12:04:52 1.195
+++ toplev.c 1999/08/24 16:21:11
@@ -3904,7 +3904,7 @@ rest_of_compilation (decl)
if (optimize > 0 && flag_gcse)
{
if (gcse_dump)
- open_dump_file (".gcse", IDENTIFIER_POINTER (DECL_NAME (decl)));
+ open_dump_file (".gcse", decl_printable_name (decl, 2));
TIMEVAR (gcse_time, tem = gcse_main (insns, rtl_dump_file));