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/30786] [4.1/4.2/4.3 Regression] ICE on _Pragma at end of file



------- Comment #8 from tromey at gcc dot gnu dot org  2007-10-31 14:50 -------
Subject: Bug 30786

Author: tromey
Date: Wed Oct 31 14:50:13 2007
New Revision: 129800

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129800
Log:
gcc/testsuite
        PR preprocessor/30786:
        * gcc.dg/cpp/pr30786.c: New file.
libcpp
        PR preprocessor/30786:
        * macro.c (builtin_macro): Return result of _cpp_do__Pragma.
        * directives.c (_cpp_do__Pragma): Return error status.
        * internal.h (_cpp_do__Pragma): Update.
        * directives.c (get__Pragma_string): Back up if EOF seen.

Added:
    trunk/gcc/testsuite/gcc.dg/cpp/pr30786.c
Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/libcpp/ChangeLog
    trunk/libcpp/directives.c
    trunk/libcpp/internal.h
    trunk/libcpp/macro.c


-- 


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


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