Commit c0318c99 by Richard Kenner

(ASM_OUTPUT_SECTION_NAME): Don't crash if DECL is null.

From-SVN: r10067
parent 4c99e795
......@@ -579,8 +579,8 @@ dtors_section () \
read-only for a const data decl, and writable for a non-const data decl. */
#define ASM_OUTPUT_SECTION_NAME(FILE, DECL, NAME) \
fprintf (FILE, ".section\t%s,\"%s\",@progbits\n", NAME, \
TREE_CODE (DECL) == FUNCTION_DECL ? "ax" : \
TREE_READONLY (DECL) ? "a" : "aw")
(DECL) && TREE_CODE (DECL) == FUNCTION_DECL ? "ax" : \
(DECL) && TREE_READONLY (DECL) ? "a" : "aw")
/* A C statement (sans semicolon) to output an element in the table of
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment