Other Parts Discussed in Thread: AM263P4
Tool/software:
Hello,
I'm using CCS 12.8.1.
In the following snippet from an AM263P4 program, unused_var is discarded since it is not referenced:

However, it still gets a DWARF symbol in the ELF file albeit with address 0x0:

The debugger is none the wiser and allows this non existent variable to be selected thus incorrectly dereferencing the entry point.

I think this eliminated variable should not be selectable in the debugger.