This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/70433] backslashes lost in dot file
- From: "vries at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 29 Mar 2016 08:32:43 +0000
- Subject: [Bug tree-optimization/70433] backslashes lost in dot file
- Auto-submitted: auto-generated
- References: <bug-70433-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70433
--- Comment #1 from vries at gcc dot gnu.org ---
Created attachment 38115
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38115&action=edit
tentative patch
Using this patch, we get in the dot file:
...
printf\ (\"\\\"%s\\\"\",\ &__FUNCTION__);
...
and in the resulting graph file:
...
printf ("\"%s\"", &__FUNCTION__);
...