From bda112ee7a425643fbf9141f2857c58f776b209c Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 23 Feb 2019 00:47:42 -0500 Subject: midipix_asm_assemble_integer(): properly distinguish between defs. and decls. --- gcc/config/i386/midipix.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gcc/config/i386/midipix.c b/gcc/config/i386/midipix.c index 0e5753a1c..b30448eb2 100644 --- a/gcc/config/i386/midipix.c +++ b/gcc/config/i386/midipix.c @@ -601,9 +601,7 @@ bool midipix_asm_assemble_integer(rtx x, unsigned int size, int aligned_p) /* visibility */ visibility = falt && decl ? (decl->decl_with_vis.visibility == VISIBILITY_DEFAULT) - ? default_visibility - : decl->decl_with_vis.visibility - : 0; + : VISIBILITY_DEFAULT); /* defer? */ if (!falt || (visibility != VISIBILITY_DEFAULT)) -- cgit v1.2.3