>> Here is a re-diffed version of my previous patch. I'd be grateful for
>> comments. In particular: Does it fix all the problems on AIX? (For
>> more open questions, see below.)
>
> IMHO there is no point to mangle automatic vars or PARM_DECLs that way,
> i.e. anything that won't be TREE_STATIC.  And, what will be TREE_STATIC
> should have dot or $ character in the symbol name if the target allows it,
> to avoid unnecessary clashes with e.g. the C library etc.

well, I'm not an expert for C/C++ name mangling, but this patch was
motivated by David's earlier statement:

> For C and C++, identifiers beginning with underscore and upper case
> letter or with two underscores are reserve to the implementation.

See the previous discussion in this thread ...

Cheers,
Janus

Reply via email to