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/28419] [4.1/4.2 regression] ICE using __FUNCTION__ in invalid code



------- Comment #4 from hubicka at gcc dot gnu dot org  2006-10-13 07:42 -------
Subject: Bug 28419

Author: hubicka
Date: Fri Oct 13 07:41:53 2006
New Revision: 117684

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117684
Log:
        PR c/28419
        * c-decl.c (c_make_fname_decl): Do not segfault in case where
        current_function_decl is set but current_function_scope is not.

        * gcc.dg/pr28319.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr28419.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-decl.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28419


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