Greg Shirey wrote:

>Inside the paragraph that never gets executed, I added the following 
>statement: 
>MOVE "BUBBA" to WS-DESC.

What are the conditions you set that the part will never be executed? In a part 
of boolean statement which are always FALSE or is that a part of a 
routine/function which are never called at all?

>After recompiling with OPT(2), I browsed the program object and was able to 
>find "BUBBA" which leads me to believe that the optimizer is no longer 
>removing code that cannot be executed.  (At least in this case.)  

Weird. Are the module size the same with all these OPT values? It should be 
different.

>Is that a bug?  I'll ask IBM and report back.   

Perhaps, but exclude any debugging compile/linkedit options and search again 
for 'JABBA', oops, 'BUBBA'.

Groete / Greetings
Elardus Engelbrecht

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to