This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/22065] -fdump-tree-original causes static function to emitted with the same name
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Oct 2005 04:27:46 -0000
- Subject: [Bug c/22065] -fdump-tree-original causes static function to emitted with the same name
- References: <bug-22065-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pinskia at gcc dot gnu dot org 2005-10-16 04:27 -------
Created an attachment (id=9999)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9999&action=view)
Patch which should fix it but needs testing
This patch moves where we do the finalizing of the function in unit at a time
mode from when we finish a function to when we pop the file scope. This will
fix the -fdump-tree-orginal problem but I don't know if it works in all cases.
I have not done a bootstrap/test on this yet but I will be doing that tonight
with also a --enable-intermodule build with -fdump-tree-all-vops so we get the
code really tested.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22065