https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99711

--- Comment #6 from philippe.wautelet at aero dot obs-mip.fr ---
Hello,

The segfault occurs on the read line.

If I allocate the array with the right number of lines (allocate(
character(len=10) :: cbulist_ru(4)), I get exactly the same behavior
(segfault).

However, if I initialize the array just after its allocation:
cbulist_ru(:)=''
and runs the application, it prints:
> ./a.out 
 VTURB                                   
which is the last line of the variable in the namelist.

Reply via email to