This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/39179] [4.4 Regression] Wrong code in c++ for const members initialized in external file
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Feb 2009 22:56:58 -0000
- Subject: [Bug target/39179] [4.4 Regression] Wrong code in c++ for const members initialized in external file
- References: <bug-39179-15155@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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