I received the following note concerning the "CodeGen" problem in IBM-MAIN a
while ago.
 
Can someone in IBM-MAIN, please create a PMR for this?

________________________________


Bill,

I apologize for the late reply.
Yes. please make a suggestion for a customer PMR in the IBM-MAIN list.

Again, thanks for your help.

Compiler Development
IBM Canada Lab. 
(
Subject
        
RE: Fw: METAL C: CodeGen defeciency?    
                

Would a customer PMR help? I can suggest it in the IBM-MAIN list - but won't
unless you think it would be useful.


________________________________


Bill,

I won't say it was intentional. The same thing exists in non-Metal C
produced code too. And my digging shows that it has been in the compiler
since the z/OS V1R5 release. I'll have a chat with the compiler people here
to see how we want to deal with it.

Thnaks for bringing this to our attention.

Compiler Development
IBM Canada Lab. 


Subject:         
Fw: METAL C: CodeGen defeciency?        
________________________________


See this post in IBM-MAIN.

Is this something that someone should create a PMR about - or is this
"intentional"?  (I certainly don't know enough C to know the answer)


"Johnny Luo" <[email protected]> wrote in message
news:<[email protected]>...
> Hi,
> 
> I was trying new METAL option of XL C and the following is the HLASM code
> generated :
> 
> *  {
> *    char a[20]="12345";
>          MVC   88(6,13),0(11)
>          MVI   @74a+6,0
>          MVC   @74a+7(13),@74a+6
>          MVI   @74a+6,0
>          MVC   @74a+7(13),@74a+6
> *   return;
> * }
> 
> It initialized the buffer twice! I cannot think of why. Is it normal?
> 
> 
> 
> -- 
> Best Regards,
> Johnny Luo

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to