[patch, fortran] Bug 84506 - [6/7/8 Regression]INQUIRE(pos=) always sets pos=0 with -fdefault-integer-8

Steve Kargl sgk@troutmask.apl.washington.edu
Fri Feb 23 17:33:00 GMT 2018


On Fri, Feb 23, 2018 at 08:27:18AM -0800, Jerry DeLisle wrote:
> 
> I will back port to 6 an 7 after approval here. I will use the case in 
> the PR as a new test case.
> 
> OK for trunk?
> 
> Regards,
> 
> Jerry
> 
> 2018-02-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
> 
> 	PR fortran/84506
> 	* trans-io.c (set_parameter_value_inquire): Adjust range check of
> 	negative unit values for kind=8 units to the kind=4 negative limit.

OK (with a testcase :-)

-- 
Steve



More information about the Gcc-patches mailing list