There was a long discussion about this a couple of months ago.  The
summary was that __attribute__ ((mode (word))) was considered harmful.
It's safe enough when you use it within a program, but when you start
to use in a data structure shared by different codes you run into ABI
problems.  A typical example is the eh_return_filter_mode target hook,
which was introduced (without documentation!) because Darwin needs to
access the same exception handling information with two different
values of word_mode.

I'm not sure I want to know why it seemed like a good idea for darwin to do this,
but it seems to be used for all of rs6000 as well. Whee.

Anyhow, I can see how it would be bad. Not sure how to handle it without breaking
how abi stuff is handled for darwin.

-eric

Reply via email to