------- Additional Comments From zlaski at apple dot com 2005-01-10 19:43 ------- Ok, I was wrong. :-) The bug described herein is unrelated to the const encoding issue. What is more, I'm dumbfounded as to how the anomaly comes to be. Stepping through objc_start_function() and friends, one can see that the volatile-ness of the argument is preserved all the way through. I did notice some discrepancies between how ObjC synthesizes C functions vs. how such functions get constructed in C itself, and have created a patch to minimize them. Alas, this does not fix the problem. :-(
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19321