[Bug c/18963] [4.0 Regression] static and nested declarations cause an ice
phython at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Dec 15 20:46:00 GMT 2004
------- Additional Comments From phython at gcc dot gnu dot org 2004-12-15 20:46 -------
Good, that is the result I was expecting. Anyway, removing the block following:
if (TREE_CODE (x) == FUNCTION_DECL && scope != file_scope
&& !TREE_PUBLIC (x) && !DECL_INITIAL (x))
from c-decl.c (pushdecl:2066) fixes the ice and the testcase works at -O0.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18963
More information about the Gcc-bugs
mailing list