summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-02-23 00:47:42 -0500
committermidipix <writeonce@midipix.org>2019-02-23 12:53:50 -0500
commitbda112ee7a425643fbf9141f2857c58f776b209c (patch)
treeb37d2d468002ed5c193983f75c9fa15230237eb0 /gcc/config
parent04439cb53ac01c175ebf7d794e443e0227ed0bfd (diff)
downloadcbb-gcc-4.6.4-bda112ee7a425643fbf9141f2857c58f776b209c.tar.bz2
cbb-gcc-4.6.4-bda112ee7a425643fbf9141f2857c58f776b209c.tar.xz
midipix_asm_assemble_integer(): properly distinguish between defs. and decls.
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/i386/midipix.c4
1 files changed, 1 insertions, 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))