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