diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/i386/midipix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/i386/midipix.c b/gcc/config/i386/midipix.c index 1dd2618e0..35bcb5088 100644 --- a/gcc/config/i386/midipix.c +++ b/gcc/config/i386/midipix.c @@ -602,8 +602,8 @@ bool midipix_asm_assemble_integer(rtx x, unsigned int size, int aligned_p) && (TREE_PUBLIC(decl)); /* visibility */ - visibility = falt && decl - ? (decl->decl_with_vis.visibility == VISIBILITY_DEFAULT) + visibility = falt && decl && decl->decl_with_vis.visibility_specified + ? decl->decl_with_vis.visibility : VISIBILITY_DEFAULT; /* defer? */ |