mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-10 02:46:42 +08:00
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
This commit is contained in:
parent
d0a844f86b
commit
a3e0a73bd7
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
476
gcc/configure
vendored
476
gcc/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -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.
|
||||
|
@ -1,7 +1,7 @@
|
||||
/* 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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user