(j3.2006) What is the point of 5.4.7p2?

Van Snyder Van.Snyder
Thu Jul 18 19:24:50 EDT 2013

On Thu, 2013-07-18 at 14:56 -0700, Robert Corbett wrote:
> On 07/18/13 11:13, Van Snyder wrote: 
> > What is the point of 5.4.7p2?
> > 
> > "If a nonpointer object has default initialization, it shall not
> > appear in a data-stmt-object -list."
> Is the answer given in F08/0062 insufficient?

I had forgetten this interp.  Thanks for reminding me.

The requirement goes a bit too far, since it makes DATA inconsistent
with initialization in a type declaration.

It ought to be something like

"If a type specifies default initialization for any of its components,
no subcomponent of an object of that type shall apppear in a

That was, after all, the essence of the question Tobias asked.

> Bob Corbett
> _______________________________________________
> J3 mailing list
> J3 at mailman.j3-fortran.org
> http://mailman.j3-fortran.org/mailman/listinfo/j3

More information about the J3 mailing list