diff options
author | nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-05 16:36:35 +0000 |
---|---|---|
committer | nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-05 16:36:35 +0000 |
commit | 7b58ee38688d28b655634f85633a9ba9fced47e2 (patch) | |
tree | 4c54a6219091785474701a3412dba9922f943435 /gcc/config/arm/unknown-elf.h | |
parent | 521a4359f7f50790563d9b5a8fc83c09ad433c63 (diff) | |
download | gcc-7b58ee38688d28b655634f85633a9ba9fced47e2.tar.gz |
Handle a NULL DECL being passed to ASM_OUTPUT_ALIGNED_DECL_LOCAL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46787 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/arm/unknown-elf.h')
-rw-r--r-- | gcc/config/arm/unknown-elf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/arm/unknown-elf.h b/gcc/config/arm/unknown-elf.h index ba5f7efb2f3..0affaab2305 100644 --- a/gcc/config/arm/unknown-elf.h +++ b/gcc/config/arm/unknown-elf.h @@ -75,7 +75,7 @@ Boston, MA 02111-1307, USA. */ #define ASM_OUTPUT_ALIGNED_DECL_LOCAL(FILE, DECL, NAME, SIZE, ALIGN) \ do \ { \ - if (IN_NAMED_SECTION (DECL)) \ + if ((DECL) != NULL && IN_NAMED_SECTION (DECL)) \ named_section (DECL, NULL, 0); \ else \ bss_section (); \ |