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]

brown paper bag bugfix


Didn't test some of last night's changes as much as I should have.  If
we hit this, the buffer wasn't nul-terminated, and collect_expansion
choked.  It was a really marginal 'optimization' anyway.

zw

	* cpplib.c (copy_rest_of_line): Revert previous change: don't
	bail out early if we hit a line comment.

Index: cpplib.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cpplib.c,v
retrieving revision 1.106
diff -u -p -r1.106 cpplib.c
--- cpplib.c	2000/02/06 08:24:22	1.106
+++ cpplib.c	2000/02/06 20:06:49
@@ -478,8 +478,6 @@ copy_rest_of_line (pfile)
 	  /* else fall through */
 	case '-':
 	  c = skip_comment (pfile, c);
-	  if (c == ' ')
-	    return;
 	  break;
 
 	case '\f':

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