]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/i386/predicates.md (local_symbolic_operand): Interpret
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Mar 2013 10:51:11 +0000 (10:51 +0000)
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Mar 2013 10:51:11 +0000 (10:51 +0000)
        dll-imported symbols as none-local.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197033 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/predicates.md

index 264dd092338be0b435e0b38364ed0425fb448b84..c782c040774408002923b5d4b53df1ccc7bca84f 100644 (file)
@@ -1,3 +1,8 @@
+2013-03-25  Kai Tietz  <ktietz@redhat.com>
+
+        * config/i386/predicates.md (local_symbolic_operand): Interpret
+        dll-imported symbols as none-local.
+
 2013-03-25  Richard Biener  <rguenther@suse.de>
 
        * tree-ssa-loop-im.c (struct depend): Remove.
index f5657b964a098e49cd0d1258494da9a17f676e0a..d098dc5423dfcf08832a626e89290a0c2f568674 100644 (file)
   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;