hi again,

Here's an alternative minimal working example:

----------------------------------------------------------------------
$ cat mwe2.f90 integer function f(x)
  real, intent(in) :: x(:)
  f = size(x)
end function

$ gfortran -c -Wuninitialized mwe2.f90 -o mwe2.o
during GIMPLE pass: early_uninit
mwe2.f90:4:12:

    4 | end function
      |            ^
internal compiler error: Segmentation fault
0xffffxxxx229b __libc_start_call_main
        ../sysdeps/nptl/libc_start_call_main.h:58
0xffffxxxx237b __libc_start_main_impl
        ../csu/libc-start.c:360
Please submit a full bug report, with preprocessed source (by using 
-freport-bug).
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-14/README.Bugs> for instructions.
----------------------------------------------------------------------

and the same with '-Wmaybe-uninitialized'.

Cheers
Boud

Reply via email to