diff options
-rw-r--r-- | gcc/config/i386/midipix.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/config/i386/midipix.c b/gcc/config/i386/midipix.c index 8d17ad4bf..0e5753a1c 100644 --- a/gcc/config/i386/midipix.c +++ b/gcc/config/i386/midipix.c @@ -560,10 +560,8 @@ int midipix_symbol_ref_dllimport_p(rtx symbol) if (!decl || !decl->base.public_flag) return 0; - if (decl->decl_with_vis.visibility == VISIBILITY_DEFAULT) - return (default_visibility == VISIBILITY_DEFAULT); - - return 0; + return (decl->decl_with_vis.visibility == VISIBILITY_DEFAULT) + || !decl->decl_with_vis.visibility_specified; } bool midipix_asm_assemble_integer(rtx x, unsigned int size, int aligned_p) |