From: ktietz Date: Mon, 25 Mar 2013 10:51:11 +0000 (+0000) Subject: * config/i386/predicates.md (local_symbolic_operand): Interpret X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ed5a7307161cac275d3ad854aeec2862353bcdd2;p=thirdparty%2Fgcc.git * config/i386/predicates.md (local_symbolic_operand): Interpret dll-imported symbols as none-local. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197033 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 264dd092338b..c782c0407744 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-03-25 Kai Tietz + + * config/i386/predicates.md (local_symbolic_operand): Interpret + dll-imported symbols as none-local. + 2013-03-25 Richard Biener * tree-ssa-loop-im.c (struct depend): Remove. diff --git a/gcc/config/i386/predicates.md b/gcc/config/i386/predicates.md index f5657b964a09..d098dc5423df 100644 --- a/gcc/config/i386/predicates.md +++ b/gcc/config/i386/predicates.md @@ -436,6 +436,9 @@ if (SYMBOL_REF_TLS_MODEL (op)) return false; + /* Dll-imported symbols are always external. */ + if (TARGET_DLLIMPORT_DECL_ATTRIBUTES && SYMBOL_REF_DLLIMPORT_P (op)) + return false; if (SYMBOL_REF_LOCAL_P (op)) return true;