This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: java/7738 Patch: Turn off assert keyword recognition
- From: Tom Tromey <tromey at redhat dot com>
- To: Anthony Green <green at redhat dot com>
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: 29 Sep 2002 16:10:37 -0600
- Subject: Re: java/7738 Patch: Turn off assert keyword recognition
- References: <1033262985.2067.33.camel@dhcppc2><1033264914.1773.37.camel@dhcppc2>
- Reply-to: tromey at redhat dot com
>>>>> "Anthony" == Anthony Green <green@redhat.com> writes:
Anthony> This patch lets users turn off recognition of the `assert'
Anthony> keyword. Tested on x86 Linux. This fixes a regression of
Anthony> sorts, since this is now required in order to build older
Anthony> java source bases, like jython.
Thanks for writing this. It's been on my to-do list for a while, but
I never found the time to do it.
Anthony> * gcj.texi (Invoking jv-scan): Add --no-assert documentation.
It seems like this should be "-source 1.3" for compatibility with the
Sun `javac'.
Anthony> ! {"no-assert", &flag_assert, 0}
Doesn't this make the negative flag -fno-no-assert?
I think the new entry should read:
{"assert", &flag_assert, 1}
Tom