This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13376] [3.4 Regression] Incorrect dumps of RTL for passes that use current_function_name
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Dec 2003 20:22:53 -0000
- Subject: [Bug c++/13376] [3.4 Regression] Incorrect dumps of RTL for passes that use current_function_name
- References: <20031210152303.13376.steven@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From steven at gcc dot gnu dot org 2003-12-27 20:22 -------
We have this problem because the C++ front end caches at most 4 printable
names, and frees a printable name if it needs room for a fifth function. This
way, we end up with cfun->name pointing to free'ed memory.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13376