This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/18963] [4.0 Regression] static and nested declarations cause an ice


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]