This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84506

--- Comment #15 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Author: jvdelisle
Date: Fri Feb 23 19:53:04 2018
New Revision: 257951

URL: https://gcc.gnu.org/viewcvs?rev=257951&root=gcc&view=rev
Log:
2018-02-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        Backport from trunk
        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.

        * gfortran.dg/inquire_19.f90: New test.

Added:
    branches/gcc-6-branch/gcc/testsuite/gfortran.dg/inquire_19.f90
Modified:
    branches/gcc-6-branch/gcc/fortran/ChangeLog
    branches/gcc-6-branch/gcc/fortran/trans-io.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]