[Bug middle-end/24570] unit-at-a-time: debug info not emitted for unused global variables

2005-10-28 Thread tomas dot vanek at fbl dot cz
--- 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

[Bug c/24570] New: unit-at-a-time: debug info not emitted for unused global variables

2005-10-28 Thread tomas dot vanek at fbl dot cz
Summary: unit-at-a-time: debug info not emitted for unused global variables Product: gcc Version: 4.0.2 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at g

[Bug c++/23205] [4.0/4.1 Regression] [C++/unit-at-a-time] stabs debug info omitted for global const variables

2005-08-17 Thread tomas dot vanek at fbl dot cz
--- Additional Comments From tomas dot vanek at fbl dot cz 2005-08-17 20:35 --- It seems the same bug is in generating stabs for any global variable too. Very easy test code var.c :-) int var; gcc -S -gstabs var.c generates .stabs "var:G(0,1)",32,0,0,0 gcc -S -gstabs