Terry Guo writes:
> But when check .debug_info section of .out file, I can still see entry
> for this deadstripped function:
I have two things to say about this message.
First, this message is not appropriate for the mailing list
gcc@gcc.gnu.org, which is for discussion related to the developme
Hi,
I have following code which will be built with options
"-ffunction-sections -fdata-sections -Wl,--gc-sections
-Wl,-Map=test.map":
#include
static int unusedint=5;
static int usedint=1;
int unused(void) {
return 1;
}
int foo(void) {
return usedint;
}
int main(void) {
if (fo