Make combine dumps look like all the others
Bernd Schmidt
bernds@cygnus.co.uk
Tue Aug 24 11:51:00 GMT 1999
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));
More information about the Gcc-patches
mailing list