program test_gfortran8_2_write_format_error implicit none real(8) :: real_dummy real_dummy = 42.0_8 write(*,*) real_dummy write(*,'("This is the answer to all questions:",f4.0)') real_dummy ! this line causes runtime error !Program received signal SIGSEGV: Segmentation fault - invalid memory reference. ! !Backtrace for this error: !#0 0x7f93e1d7ddff in ??? !#1 0x7f93e2717ee0 in format_hash ! at ../../../gcc-8-20171217/libgfortran/io/format.c:128 !#2 0x7f93e2717ee0 in find_parsed_format ! at ../../../gcc-8-20171217/libgfortran/io/format.c:163 !#3 0x7f93e27274c7 in data_transfer_init ! at ../../../gcc-8-20171217/libgfortran/io/transfer.c:2791 !#4 0x55d357a7826e in ??? !#5 0x55d357a782e8 in ??? !#6 0x7f93e1d6a222 in ??? !#7 0x55d357a780bd in ??? !#8 0xffffffffffffffff in ??? !Segmentation fault (core dumped) ! pacman -Si gcc !Repository : core !Name : gcc !Version : 8.2.1+20180831-1 !Description : The GNU Compiler Collection - C and C++ frontends !Architecture : x86_64 !URL : http://gcc.gnu.org !Licenses : GPL LGPL FDL custom !Groups : base-devel !Provides : gcc-multilib !Depends On : gcc-libs=8.2.1+20180831-1 binutils>=2.28 libmpc !Optional Deps : lib32-gcc-libs: for generating code for 32-bit ABI !Conflicts With : None !Replaces : gcc-multilib !Download Size : 32,89 MiB !Installed Size : 132,45 MiB !Packager : Evangelos Foutras !Build Date : Fr 31 Aug 2018 14:44:58 CEST !Validated By : MD5 Sum SHA-256 Sum Signature end program test_gfortran8_2_write_format_error