Commit a3e0a73b by Zack Weinberg Committed by Zack Weinberg

configure.in: Make --enable-cpplib the default.

	* configure.in: Make --enable-cpplib the default.
	* configure: Regenerate.
	* gcc.dg/990119-1.c: No longer expected to fail.

From-SVN: r31673
parent d0a844f8
2000-01-28 Zack Weinberg <zack@wolery.cumb.org>
* configure.in: Make --enable-cpplib the default.
* configure: Regenerate.
* gcc.dg/990119-1.c: No longer expected to fail.
2000-01-28 Bernd Schmidt <bernds@cygnus.co.uk>
* jump.c (jump_optimize_1): Delete an optimization that is also done
......
......@@ -218,11 +218,11 @@ elif test x$withval != xno; then
fi])
# Use cpplib+cppmain for the preprocessor, but don't link it with the compiler.
cpp_main=cccp
cpp_main=cppmain
AC_ARG_ENABLE(cpplib,
[ --enable-cpplib use cpplib for the C preprocessor.],
if test x$enable_cpplib != xno; then
cpp_main=cppmain
[ --disable-cpplib use the old isolated C preprocessor.],
if test x$enable_cpplib = xno; then
cpp_main=cccp
fi)
# Link cpplib into the compiler proper, for C/C++/ObjC.
......
/* This checks for two things:
- an obscure corner case in the standard rules for __LINE__
- regression of an associated bug in cpplib where the semicolon got lost */
/* { dg-do run {xfail *-*-*} } *//* Currently this corner case is not handled correctly. */
/* { dg-do run } */
int i = __LINE__\
;
......@@ -9,7 +9,7 @@ int i = __LINE__\
int main (void) /* { dg-bogus "parse error" "semicolon eaten" } */
{
if (i != 6)
abort();
abort ();
else
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment