http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55356
Bug #: 55356
Summary: ICE with TRANSFER of C_NULL_PTR
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: [email protected]
ReportedBy: [email protected]
Example code (bug.f90):
use iso_c_binding
type(C_ptr) :: p
p = transfer(C_NULL_ptr,p)
end
Result:
$ gfortran -c bug.f90
f951: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Seems likely related to bug 46974