If the source has an addendum, the descriptor that is being established
to describe a section over the source needs to copy the addendum so that
derived type information is correctly set in the descriptor being
established.
This allows namelist IO with derived type to work correctly.
Please use braced initialization here in the runtime, and you can put the auto *addendum{Addendum()} into the if statement.