diff options
author | midipix <writeonce@midipix.org> | 2019-02-23 01:37:05 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-02-23 12:59:43 -0500 |
commit | ff34cba16509e48eb4d60ca8b281b400dd9d50c2 (patch) | |
tree | 04e6ccc4543745197f1e75c751fd54322d8458d3 | |
parent | 1627c6bcd7dbacaa5e781a2042f8eade55bd6634 (diff) | |
download | cbb-gcc-4.6.4-ff34cba16509e48eb4d60ca8b281b400dd9d50c2.tar.bz2 cbb-gcc-4.6.4-ff34cba16509e48eb4d60ca8b281b400dd9d50c2.tar.xz |
midipix_asm_assemble_integer(): correctly distinguish between defs. and decls.
-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? */ |