re PR fortran/32801 (USE of ISO_C_BINDING, ONLY: C_LOC causes compiler seg fault)
authorChristopher D. Rickett <crickett@lanl.gov>
Wed, 18 Jul 2007 22:02:21 +0000 (22:02 +0000)
committerTobias Burnus <burnus@gcc.gnu.org>
Wed, 18 Jul 2007 22:02:21 +0000 (00:02 +0200)
commitc00a2e6beb98a0c8ae9b0d0feb85c88b7254981c
treee53738f69c31ea1581cfd0fcd54a20af2208185e
parent0ef0421e82f875cdb88620605dbd7ff42e9c5632
re PR fortran/32801 (USE of ISO_C_BINDING, ONLY: C_LOC causes compiler seg fault)

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

PR fortran/32801
* symbol.c (generate_isocbinding_symbol): Fix bug where
ISOCBINDING_FUNPTR was generated for C_LOC instead of the needed
ISOCBINDING_PTR.

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

PR fortran/32801
* gfortran.dg/pr32801.f03: New test case.

From-SVN: r126732
gcc/fortran/ChangeLog
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr32801.f03 [new file with mode: 0644]