diff options
author | Richard Henderson <rth@cygnus.com> | 2000-08-01 13:24:22 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2000-08-01 13:24:22 -0700 |
commit | 0577bad8bf7781c9d0118b68e9d1bdc8b8d66d8f (patch) | |
tree | b0302bf69b55078ecff87764f9ababbf4b5a6bad /gcc/config/elfos.h | |
parent | 7e2fda6e4a47eebcd310e314da6a63be9629dbbd (diff) | |
download | gcc-0577bad8bf7781c9d0118b68e9d1bdc8b8d66d8f.tar.gz |
elfos.h (ASM_DECLARE_OBJECT_NAME): Care for null DECL.
* config/elfos.h (ASM_DECLARE_OBJECT_NAME): Care for null DECL.
* config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
From-SVN: r35412
Diffstat (limited to 'gcc/config/elfos.h')
-rw-r--r-- | gcc/config/elfos.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/elfos.h b/gcc/config/elfos.h index 7962a34c610..2f9f037e868 100644 --- a/gcc/config/elfos.h +++ b/gcc/config/elfos.h @@ -582,7 +582,8 @@ dtors_section () \ \ size_directive_output = 0; \ \ - if (!flag_inhibit_size_directive && DECL_SIZE (DECL)) \ + if (!flag_inhibit_size_directive \ + && (DECL) && DECL_SIZE (DECL)) \ { \ size_directive_output = 1; \ fprintf (FILE, "\t%s\t ", SIZE_ASM_OP); \ |