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 preprocessor/35061] #pragma pop_macro causes ICE if no macro value on stack



------- Comment #2 from dannysmith at gcc dot gnu dot org  2008-02-14 21:42 -------
Subject: Bug 35061

Author: dannysmith
Date: Thu Feb 14 21:41:40 2008
New Revision: 132322

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132322
Log:
        PR preprocessor/35061
gcc
        * c-pragma.c (handle_pragma_pop_macro): Check that
        pushed_macro_table has been allocated.
testsuite
        * gcc.dg/cpp/pragma_pop_macro-1.c:  New file




Added:
    trunk/gcc/testsuite/gcc.dg/cpp/pragma-pop_macro-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-pragma.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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