This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch gcj front end bug (switch without default)
- From: Tom Tromey <tromey at redhat dot com>
- To: Per Bothner <per at bothner dot com>
- Cc: Java Discuss List <java at gcc dot gnu dot org>, gcc-patches at gcc dot gnu dot org
- Date: 10 Dec 2001 10:08:44 -0700
- Subject: Re: patch gcj front end bug (switch without default)
- References: <87wuzx9ies.fsf@creche.redhat.com> <3C143A11.7070001@bothner.com>
- Reply-to: tromey at redhat dot com
>>>>> "Per" == Per Bothner <per@bothner.com> writes:
Per> Tom Tromey found a bug in the define assignment code, where we
Per> did not properly handle a switch statement without an explicit
Per> default handler. This should fix it. I've checked it into the
Per> trunk.
Funny, I wrote a patch for this last night but didn't submit it until
this morning. You can use SWITCH_HAS_DEFAULT instead of keeping track
in check-init.
Tom