Hello Dave,
thank you for your answers.
Yes, the reason for "my" confusion was twofold:
first, the documentation of IBM, which states that the remaining components
of partially initialized automatic structures are not initialized, which
is not
conforming to the ANSI standard and is not what t
Bernd Oppolzer wrote:
Hello David,
which version of the compiler did generate the MVC instructions?
was this with or without the INITAUTO option?
We use the z/OS v1.6 version, and this version only generates the MVI,
not the MVCs.
We will not use INITAUTO due to serious performance degradation
Hi Again Bernd,
That psuedo-assembler appears to be initializing
a 5-bytes of storage. Are you sure the 'scp1215ein'
data type is 24 bytes? Can you show the
typedef for 'scp1215ein'?
Does there happen to be any packing going on?
Bitfields, etc...
- Dave Rivers -
Bernd Oppolzer w
Hi Bernd
We had several PMR's about the C++ compiler and the compiler team
reacted always
very fast and competently (maybe as they are in Canada ;-) )
On 5/19/2010 9:21 AM, Bernd Oppolzer wrote:
Hello David,
which version of the compiler did generate the MVC instructions?
was this with o
Bernd,
I'm using z/OS V1.10 without INITAUTO. We've compiled our code all the
way back to OS/390 2.8 and I can't recall ever seeing
this problem. I'm sure it's a codegen bug, otherwise what is the point
of the MVI?
I wouldn't accept anything other than a fix from IBM. Although your
compiler
Hello David,
which version of the compiler did generate the MVC instructions?
was this with or without the INITAUTO option?
We use the z/OS v1.6 version, and this version only generates the MVI,
not the MVCs.
We will not use INITAUTO due to serious performance degradation.
At the moment, manag
To David:
no, there is no MVC. This is the z/OS V1.6 C-Compiler.
I will try and examine the newer versions. Maybe the error is only in this
version. But the description in the language reference also tells that the
remaining components remain uninitialized, which is very strange.
We, too, do thi
To: IBM-MAIN@bama.ua.edu
Subject: partially initialized structures in C (3)
Sorry for the missing line feeds.
C statement:
*scp1215ein in1215 = { 0 };
Pseudo ASSEMBLER (structure starts at 272(r13)):
STr6,(,r13,272)
MVI (r13,276),0
C statement:
*scp1215aus out
Are you sure there isn't an MVC after the MVI?
I rely on that kind of initialization all the time and have never had a
problem. A quick test program shows the correct behavior.
If this is not working as the ANSI standard I suggest you open a PMR. To
circumvent the problem compile with INITAUTO(
> -Original Message-
> From: IBM Mainframe Discussion List
> [mailto:ibm-m...@bama.ua.edu] On Behalf Of Bernd Oppolzer
> Sent: Tuesday, May 18, 2010 2:14 PM
> To: IBM-MAIN@bama.ua.edu
> Subject: partially initialized structures in C (3)
>
> Sorry for the mi
Sorry for the missing line feeds.
C statement:
*scp1215ein in1215 = { 0 };
Pseudo ASSEMBLER (structure starts at 272(r13)):
STr6,(,r13,272)
MVI (r13,276),0
C statement:
*scp1215aus out1215= { 0 };
Pseudo ASSEMBLER (structure starts at 296(r13)):
STr6
11 matches
Mail list logo