varasm.c (function_section): If DECL is NULL_TREE, don't try to do anything else.
authorZack Weinberg <zack@gcc.gnu.org>
Thu, 28 Oct 2004 20:52:42 +0000 (20:52 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Thu, 28 Oct 2004 20:52:42 +0000 (20:52 +0000)
commit40aea05cfa9feadb1fb46bca2992b905ebdcba74
tree34a3bffdf54aa9215852fd7c053771fd36167a5a
parent6571df13b4c1b52d50a7e297db59ec698c2220ee
varasm.c (function_section): If DECL is NULL_TREE, don't try to do anything else.

* varasm.c (function_section): If DECL is NULL_TREE, don't try
to do anything else.  Do not call get_insns if cfun or
cfun->emit are NULL.

From-SVN: r89777
gcc/ChangeLog
gcc/varasm.c