On 11/18/14 02:55, Richard Biener wrote:
On Tue, Nov 18, 2014 at 3:59 AM, Jeff Law <l...@redhat.com> wrote:
On 11/17/14 13:05, Ilya Enkovich wrote:


How comes you emit debug info for functions that do not exist and thus
are never used?  Is problem caused by builtins going after
END_CHKP_BUILTINS? Or some info generated for all builtins ignoring
its existence?

IIRC, stabs aren't pruned based on whether or not they're used.  So every
file that includes tree-core.h is going to have every name/value pair for
the enum.  Hence the major heartburn for AIX.

I wonder how AIX deals with the ever increasing number of target builtins
then.

Well.  Why can't we just drop enum values that exceed the stabs format?
At least I don't understand why we cannot "fix" this in the stabs output.
After all what happens to non-GCC code with such large enums?
I can live with that -- I don't expect we'll have the need to be looking at those enum values on AIX often :-)

jeff

Reply via email to