On Nov 8, 2013, at 2:35 AM, Mingjie Xing <mingjie.x...@gmail.com> wrote: > Oops, if it is not a bug, please close the report > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57258
Well, I've stated my position. I can be swayed by a good argument, if someone has one. I'd give people a chance to weigh in if they can think of one. A global variable with linkage is completely different, as the linker can grab it, dlsym can grab it, and who knows… while a cleaver (Ian type of cleaver) person could grab an automatic variable, the difficulty is enormous and doing that would be exceedingly odd. I don't know of any coding style where people do that sort of thing. Reflection comes the closest; dynamic bindings (a la lisp) I guess comes second; shudder. I'd make them mark it with the used attribute, since they're really weird.