This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/39179] [4.4 Regression] Wrong code in c++ for const members initialized in external file



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]