This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: java/7738 Patch: Turn off assert keyword recognition


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]