https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84506
--- Comment #9 from Steve Kargl <sgk at troutmask dot apl.washington.edu> --- On Thu, Feb 22, 2018 at 03:30:01AM +0000, jvdelisle at gcc dot gnu.org wrote: > > if (D.3772 < -some-reasonable-value || D.3772 > 2147483647) > { > inquire_parm.3.common.unit = -3; > } > _gfortran_st_inquire (&inquire_parm.3); > > It could be something like -32768 simply because the check is to make sure the > value used fits within kind=4 common.unit number. > Is the range check intended as a guard of inquiring on stderr, stdin, and stdout?