------- Comment #16 from jason at gcc dot gnu dot org 2009-02-17 22:56 ------- (In reply to comment #12) > Well, certainly binds_local_p is used for exactly this semantic.
Perhaps I'm wrong then, and it does mean "binds to a definition in this translation unit." The default definition does check DECL_EXTERNAL, I notice; I guess a quick fix would be to add that to the PE version of the hook. I'll look at fixing the C++ front end. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39179