This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/24570] unit-at-a-time: debug info not emitted for unused global variables
- From: "tomas dot vanek at fbl dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Oct 2005 17:14:32 -0000
- Subject: [Bug middle-end/24570] unit-at-a-time: debug info not emitted for unused global variables
- References: <bug-24570-11184@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from tomas dot vanek at fbl dot cz 2005-10-28 17:14 -------
I'm sure it is. I have to declare variables in other segment than .data
for my AVR project and if they are declared in one module and __used__ in some
others, they cannot be showed in gdb and AVRstudio (however they definitelly
are there!!)
Just to simplify the example, I left vars in common, where they probably gets
removed.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24570