I am trying to build pFUnit 3.2.7 with gfortran version 5.3.1:
[miahw@bengal pFUnit-3.2.7]$ gfortran --version
GNU Fortran (GCC) 5.3.1 20160406 (Red Hat 5.3.1-6)
I am getting the following compilation error:
gfortran -c -I/home/miahw/pFUnit/include -I/home/miahw/pFUnit/source -g -O0 -fbacktrace -fbounds-check -fcheck=mem -I../include -DBUILD_ROBUST -DGNU -DLinux -I/home/miahw/pFUnit/include -DLONG_PTR -DGNU -o Exception.o Exception.F90
Exception.F90:321:0:
allocate(this%exceptions(0))
1
internal compiler error: in wide_int_to_tree, at tree.c:1464
Please submit a full bug report,
Is this a gfortran bug or pfunit bug? If it's a gfortran bug, I will raise this with gfortran support.
Thanks in advance,
Wadud.
It looks like a gfortran issue from the error message "internal compiler error". I have raised a bug report with gfortran on this issue. Another reason not to go with the latest and greatest!