Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 357933

Summary: the exit case statement needs to be converted to exit label
Product: z_Archived Reporter: Jeff Douglas <jeffdouglas>
Component: EDTAssignee: Project Inbox <edt.compiler-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: pharmon
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Jeff Douglas CLA 2011-09-16 08:20:50 EDT
As per our discussion.

Paul the IR generated code is currently converting a case statement to a series of if statements, which is good. However, if the user coded an exit IF statement in one of the case criteria, then it would branch to the wrong location.

We need a label placed on the 1st IF statement for the case converted IF, and then any exit case statement would need to be converted to exit label (of the case).
Comment 1 Paul Harmon CLA 2011-11-01 10:03:54 EDT
I have fixed this with updates to:

EGL2MofStatement
CompoundConditionExpander
AbstractVisitor
Comment 2 Jeff Douglas CLA 2011-11-18 11:56:46 EST
ok