re PR fortran/32801 (USE of ISO_C_BINDING, ONLY: C_LOC causes compiler seg fault)
authorChristopher D. Rickett <crickett@lanl.gov>
Sat, 21 Jul 2007 20:31:17 +0000 (20:31 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 21 Jul 2007 20:31:17 +0000 (20:31 +0000)
commit21a772278801d5143e385999c692da9457db5552
treeaaa261c1ece9e85334ea8466a587b89dc1b0f25d
parentd3960cf47cceb53e288127680ba8f2415d56fec4
re PR fortran/32801 (USE of ISO_C_BINDING, ONLY: C_LOC causes compiler seg fault)

2007-07-21  Christopher D. Rickett  <crickett@lanl.gov>

        PR fortran/32801
        * symbol.c (generate_isocbinding_symbol): Remove unnecessary
        conditional.

        PR fortran/32804
        * resolve.c (gfc_iso_c_func_interface): Reject assumed-shape and
        deferred-shape arrays as args to C_LOC.  Fix bug in testing
        character args to C_LOC.

2007-07-21  Christopher D. Rickett  <crickett@lanl.gov>

        PR fortran/32804
        * gfortran.dg/c_loc_tests_9.f03: New test case.
        * gfortran.dg/c_loc_tests_10.f03: Ditto.

From-SVN: r126812
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/c_loc_tests_10.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/c_loc_tests_9.f03 [new file with mode: 0644]