aboutsummaryrefslogtreecommitdiff
path: root/gcc/f
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2002-06-20 20:34:19 +0000
committerNeil Booth <neil@gcc.gnu.org>2002-06-20 20:34:19 +0000
commit017acb41cd8cc90aaec65c4e567f7a126c4c4e6d (patch)
treea0323cce9b4103b2363bc451d6e3a03652a528b1 /gcc/f
parent5ab23d80ecd18fbe314d192bf54584a0cf185413 (diff)
downloadgcc-017acb41cd8cc90aaec65c4e567f7a126c4c4e6d.zip
gcc-017acb41cd8cc90aaec65c4e567f7a126c4c4e6d.tar.gz
gcc-017acb41cd8cc90aaec65c4e567f7a126c4c4e6d.tar.bz2
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
Diffstat (limited to 'gcc/f')
-rw-r--r--gcc/f/ChangeLog4
-rw-r--r--gcc/f/lang-specs.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog
index 581fbe1..fa3128c 100644
--- a/gcc/f/ChangeLog
+++ b/gcc/f/ChangeLog
@@ -1,3 +1,7 @@
+Thu Jun 20 21:56:34 2002 Neil Booth <neil@daikokuya.co.uk>
+
+ * lang-specs.h: Use cc1 for traditional preprocessing.
+
2002-06-20 Andreas Jaeger <aj@suse.de>
* com.c (ffecom_prepare_expr_,ffecom_expr_power_integer_):
diff --git a/gcc/f/lang-specs.h b/gcc/f/lang-specs.h
index c22837a..5536f78 100644
--- a/gcc/f/lang-specs.h
+++ b/gcc/f/lang-specs.h
@@ -28,7 +28,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
{".fpp", "@f77-cpp-input", 0},
{".FPP", "@f77-cpp-input", 0},
{"@f77-cpp-input",
- "tradcpp0 -lang-fortran %(cpp_options) \
+ "cc1 -E -traditional-cpp -D_LANGUAGE_FORTRAN %(cpp_options) \
%{E|M|MM:%(cpp_debug_options)}\
%{!M:%{!MM:%{!E:%{!pipe:%g.f} |\n\
f771 %{!pipe:%g.f} %(cc1_options) %{I*} %{!fsyntax-only:%(invoke_as)}}}}", 0},