Commit 75c91bcd by Jim Wilson

(ASM_OUTPUT_SECTION): Test DECL before

dereferencing it.

From-SVN: r11865
parent 0b0ee36c
......@@ -99,8 +99,8 @@ Boston, MA 02111-1307, USA. */
#undef ASM_OUTPUT_SECTION_NAME
#define ASM_OUTPUT_SECTION_NAME(FILE, DECL, NAME) \
fprintf((FILE), ".section\t%s,\"%c\"\n", (NAME), \
TREE_CODE (DECL) == FUNCTION_DECL || \
TREE_READONLY (DECL) ? 'x' : 'd')
(DECL) && (TREE_CODE (DECL) == FUNCTION_DECL || \
TREE_READONLY (DECL)) ? 'x' : 'd')
/* Support the ctors and dtors sections for g++. */
......
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