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: RFA Fix C/13014


On Sat, 2003-11-15 at 03:01, Joseph S. Myers wrote:
> On Sat, 15 Nov 2003, Eric Christopher wrote:
> 
> > This patch brings the check into the parser where it belongs. I changed
> > the previous errors to abort () because we shouldn't have gotten that
> > far if we did. It does fix the testcases, however, I'd appreciate
> > someone with a better knowledge of the parser giving this a good look.
> > 
> > OK? Did I miss something?
> 
> Does this yield the proper errors when the break or continue is within a
> nested function located inside a switch?  (You can't jump out of nested 
> functions that way, only by goto to explicitly declared labels.)

Testcase? :) I tried to work up a couple but I think my mind kept giving
me valid testcases.

-eric

-- 
Eric Christopher <echristo@redhat.com>


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