This is the mail archive of the gcc-patches@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]

fix-header coredump fix


This fixes it for the moment; a better fix is coming up.

Neil.

	* fix-header.c: Macro expansion is not a file buffer.

Index: fix-header.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/fix-header.c,v
retrieving revision 1.57
diff -u -p -r1.57 fix-header.c
--- fix-header.c	2000/12/11 07:45:16	1.57
+++ fix-header.c	2000/12/11 18:19:37
@@ -652,7 +652,7 @@ read_scan_file (in_fname, argc, argv)
 
       /* Scan the macro expansion of "getchar();".  */
       cpp_push_buffer (scan_in, getchar_call, sizeof(getchar_call) - 1,
-		       BUF_FILE, in_fname);
+		       BUF_BUILTIN, in_fname);
       for (;;)
 	{
 	  cpp_token t;

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