[Bug fortran/44347] SELECT_REAL_KIND: Wrongly accepts non-scalar arguments

dfranke at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Jun 12 11:21:00 GMT 2010



------- Comment #7 from dfranke at gcc dot gnu dot org  2010-06-12 11:21 -------
Subject: Bug 44347

Author: dfranke
Date: Sat Jun 12 11:21:17 2010
New Revision: 160658

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160658
Log:
gcc/fortran/:
2010-06-12  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/44347
        * check.c (gfc_check_selected_real_kind): Verify that the
        actual arguments are scalar.

gcc/testsuite/:
2010-06-12  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/44347
        * gfortran.dg/selected_real_kind_1.f90: New.


Added:
    branches/gcc-4_5-branch/gcc/testsuite/gfortran.dg/selected_real_kind_1.f90
Modified:
    branches/gcc-4_5-branch/gcc/fortran/ChangeLog
    branches/gcc-4_5-branch/gcc/fortran/check.c
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44347



More information about the Gcc-bugs mailing list