compile failure with gcc/14.2.0

Hello,

While working on the "Intermediate Fortran" Udemy course, I got a compile failure with gcc14.2.0 (invoked with fpm run). Here's the compiler output:

From https://gitlab.com/everythingfunctional/exceptional_numbers
 * tag               v0.1.1     -> FETCH_HEAD
iso_varying_string.f90                 done.
exceptional_numbers.f90                done.
tree_m.f90                             done.
strff.f90                              done.
leaf_m.f90                             done.
node_m.f90                             failed.
[ 66%] Compiling...
././src/node_m.f90:81:100:

   81 |                 padded = join([padded_lines, [(var_str(repeat(" ", width)), i = 1, num_lines - size(lines))]], NEWLINE)
      |                                                                                                    1
Error: ‘array’ argument of ‘size’ intrinsic at (1) must be an array
<ERROR> Compilation failed for object " src_node_m.f90.o "
<ERROR> stopping due to failed compilation
STOP 1

Compilation works fine with both gcc12.2.0 and gcc13.2.0.

Adding type(varying_string), allocatable :: lines(:) into node_m.f90 (above the associate block) did not fix the compile failure - same error with gcc14 and no issues with gcc12/13.

Hope this helps!

Cheers, Manodeep