[Bug fortran/56079] [4.7/4.8 Regression] ICE with C_PTR renaming and TRANSFER

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 25 23:11:00 GMT 2013


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

--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2013-01-25 23:10:28 UTC ---
(In reply to comment #3)

Sorry, an error in the test case.  This has the same error:

program gar_nichts
   use ISO_C_BINDING
   type(c_ptr) nada
   call foo(transfer(C_NULL_PTR,nada))
!   call foo(transfer(0_8, nada))
end program gar_nichts

The test case works if the constant 0_8 is used instead.



More information about the Gcc-bugs mailing list