The syntax of the directive is
!GCC$ vector
This directive tells the compiler to vectorize the following loop. It must be placed immediately before a DO loop and applies only to the loop that follows.
For DO CONCURRENT constructs this annotation applies to all loops specified in the concurrent header.
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gfortran/VECTOR-directive.html