Nemanja Popov wrote:
dlx-elf-gcc -S foo.c -funit-at-a-time
Mike's suggestions are good in general, but there is another thing you
should be looking at. Since you are explicitly asking for
-funit-at-a-time, I would suggest looking in cgraph. cgraph has code to
optimize away unused static fu
Thanks on answer.
I'll try to do something similar.
Cheers
- Original Message -
From: "Mike Stump" <[EMAIL PROTECTED]>
To: "Nemanja Popov" <[EMAIL PROTECTED]>
Cc: "GCC Development"
Sent: Friday, February 24, 2006 10:31 PM
Subject: Re: s
On Feb 24, 2006, at 2:08 AM, Nemanja Popov wrote:
Is it possible to workaround this problem in my port files.
Sounds like a bug, I'd recommend just finding and fixing the bug.
Can't imagine it is more than a line to fix.
Watch for TREE_USED, SYMBOL_REF_USED, mark_referenced,
mark_decl_re
Hi all,
In my GCC 4.02 port for DLX cpu I'm expiriencing strange problem.
When compiling following example:
static inline int bar(void)
{
return 1;
}
int main()
{
int i = 0;
i = bar();
return i;
}
with the following line
dlx-elf-gcc -S foo.c
there is no bar() function body, but there i