From 017acb41cd8cc90aaec65c4e567f7a126c4c4e6d Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Thu, 20 Jun 2002 20:34:19 +0000 Subject: cppexp.c (cpp_interpret_integer): Don't force traditional numbers to be unsigned. * cppexp.c (cpp_interpret_integer): Don't force traditional numbers to be unsigned. * cpplib.c (prepare_directive_trad): Set line number for diagnostics. * cpptrad.c (scan_out_logical_line): Continue scanning out at start of buffer. * gcc.c (trad_capable_cpp): Use cc1 always. f: * lang-specs.h: Use cc1 for traditional preprocessing. testsuite: * gcc.dg/cpp/assert_trad1.c, gcc.dg/cpp/assert_trad2.c, gcc.dg/cpp/assert_trad3.c, gcc.dg/cpp/defined_trad.c, gcc.dg/cpp/hash2.c, gcc.dg/cpp/tr-define.c, gcc.dg/cpp/tr-direct.c, gcc.dg/cpp/tr-sign.c, gcc.dg/cpp/tr-str.c, gcc.dg/cpp/uchar-2.c: Remove. From-SVN: r54856 --- gcc/gcc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gcc/gcc.c') diff --git a/gcc/gcc.c b/gcc/gcc.c index 292b061..fc0f359 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -675,8 +675,7 @@ static const char *startfile_prefix_spec = STARTFILE_PREFIX_SPEC; call cc1 (or cc1obj in objc/lang-specs.h) from the main specs so that we default the front end language better. */ static const char *trad_capable_cpp = -"%{traditional|ftraditional|traditional-cpp:tradcpp0}\ - %{!traditional:%{!ftraditional:%{!traditional-cpp:cc1 -E}}}"; +"cc1 -E %{traditional|ftraditional|traditional-cpp:-traditional-cpp}"; static const char *cpp_unique_options = "%{C:%{!E:%eGNU C does not support -C without using -E}}\ -- cgit v1.1