This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/39179] Wrong code in c++ for const members initialized in external file
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Feb 2009 21:12:11 -0000
- Subject: [Bug target/39179] 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 #7 from rguenth at gcc dot gnu dot org 2009-02-14 21:12 -------
What happens if you just use
return default_binds_local_p_1 (exp, (TREE_CODE (exp) == VAR_DECL || TREE_CODE
(exp) == FUNCTION_DECL)
&& DECL_DLLIMPORT_P (exp));
?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39179