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: patch gcj front end bug (switch without default)


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


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