bug and fix for cpp
Greg Wolodkin
greg@mathworks.com
Mon Nov 29 12:32:00 GMT 1999
Hi -
The following is a patch which fixes a bug we've seen in gcc 2.95.2,
tickled by some hairy macros. Included are two simple examples which
illustrate the bug, and a diff which fixes the problem.
* error1.c --- a source file that hits an internal error
* error2.c --- a source file that has garbage in preprocessor output
* cccp.c.diff --- changes to cccp.c (from gcc-2.95.2)
Mike Karr is responsible for the find and the fix -- I'm merely a
messenger.. the diff and the two c files can be found at
ftp://ftp.mathworks.com/outgoing/users/wolodkin/gcc/cpp_macro_bug.tar.gz
Let me know if we can do more.
Thanks!
Greg
More information about the Gcc-bugs
mailing list