predicates.md (local_symbolic_operand): Interpret dll-imported symbols as none-local.

* config/i386/predicates.md (local_symbolic_operand): Interpret
        dll-imported symbols as none-local.

From-SVN: r197033
This commit is contained in:
Kai Tietz 2013-03-25 11:51:11 +01:00 committed by Kai Tietz
parent c0f6f2b4f2
commit 9216baf178
2 changed files with 8 additions and 0 deletions

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

View File

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