Handle a NULL DECL being passed to ASM_OUTPUT_ALIGNED_DECL_LOCAL.

From-SVN: r46787
This commit is contained in:
Nick Clifton 2001-11-05 16:36:35 +00:00 committed by Nick Clifton
parent d56a82115f
commit 648f5f0435
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-11-05 Nick Clifton <nickc@cambridge.redhat.com>
* config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Handle
DECL being NULL.
Mon Nov 5 16:15:25 CET 2001 Jan Hubicka <jh@suse.cz>
* Makefile.in (bb-reoder.o): Add depdendency on cfglayout.h;

View File

@ -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 (); \