This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37590] g++ should emit different debug info for variable's type
- From: "jan dot kratochvil at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Sep 2008 15:32:41 -0000
- Subject: [Bug c++/37590] g++ should emit different debug info for variable's type
- References: <bug-37590-360@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from jan dot kratochvil at redhat dot com 2008-09-22 15:32 -------
Tom, could you elaborate why x1 and x2 should be printed differently?
I do not say they should not but I do not see a clear reason for either way.
Should we also try to record the source name of this variable?
#define OBJECT_VAR(object, var) object ## _ ## var
int OBJECT_VAR (window, width);
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37590