https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72755
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING --- Comment #11 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- The tests in comments 6 and 9 are fixed on trunk (9.0, r260189), likely r260113 (pr68846, pr70864). Compiling the original test attached to comment 0 now gives the error pr72755.f90:457:10: res = huge(0.0_8) 1 Error: Arithmetic overflow converting REAL(8) to REAL(4) at (1). This check can be disabled with the option '-fno-range-check' pr72755.f90:1082:6: use m_util_convert 1 Fatal Error: Can't open module file 'm_util_convert.mod' for reading at (1): No such file or directory compilation terminated. which expected with ! The resulting real(kind=8) real(kind=4) :: res The test compiles with '-fno-range-check' or if I fix the above typo. If there is no objection in the coming days I'll mark this PR as a duplicate of pr70864.