Patch: `jc1' spec

Tom Tromey tromey@cygnus.com
Wed Sep 22 13:30:00 GMT 1999


I'm checking in the appended patch.  It changes gcj to use a new `jc1'
spec when running `jc1'.  This lets us avoid a bug reported earlier
whereby gcj would pass -fuse-divide-subroutine (a jc1 option) to cc1
when compiling a stub program.  Thanks to Andrew Haley for suggesting
this approach.

1999-09-22  Tom Tromey  <tromey@cygnus.com>

	* lang-specs.h: Added `%(jc1)' to the jc1 spec.

Tom

Index: lang-specs.h
===================================================================
RCS file: /cvs/egcs/egcs/gcc/java/lang-specs.h,v
retrieving revision 1.9
diff -u -r1.9 lang-specs.h
--- lang-specs.h	1999/01/31 17:46:51	1.9
+++ lang-specs.h	1999/09/22 20:26:12
@@ -30,7 +30,7 @@
   {".zip",    {"@java"} },
   {".jar",    {"@java"} },
   {"@java",
-   {"%{!E:jc1 %i %1 %{!Q:-quiet} %{d*} %{m*} %{a}\
+   {"%{!E:jc1 %i %1 %(jc1) %{!Q:-quiet} %{d*} %{m*} %{a}\
 		    %{g*} %{O*} %{W*} %{w} %{pedantic*} %{ansi}\
 		    %{traditional} %{v:-version} %{pg:-p} %{p}\
 		    %{f*} %{+e*} %{aux-info*} %{Qn:-fno-ident}\


More information about the Gcc-patches mailing list