This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to fix -fsyntax-only
- To: craig at jcb-sc dot com
- Subject: Re: Patch to fix -fsyntax-only
- From: Per Bothner <bothner at cygnus dot com>
- Date: Thu, 18 Feb 1999 14:25:05 -0800
- cc: egcs-patches at egcs dot cygnus dot com
> Java people -- I take it you have a specifical functional need
> for -fsyntax-only working properly, and probably make use of
> areas of the front end that g77 doesn't.
Yes - when compiling Java source to bytecode, the gcj front-end
passes the flags -fsyntax-only -femit-class-files to jc1.
So, from our point of view, -fsyntax-only should suppress any
generation or RTL or assembly code, but not suppress generation
of tree nodes, error checking, or semantic analysis.
--Per Bothner
Cygnus Solutions bothner@cygnus.com http://www.cygnus.com/~bothner