This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PING Re: [PATCH,fortran]: proposed fix for PR 33020


hi Tobias,


... If you are looking for another PR to wipe out: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33040

This is yet another bug which prevents the compilation of the Fortran
bindings of GSL (and SEGFAULT on valid ICE). It is a null pointer
problem and crash debugging shows cm->name = "__c_ptr_c_address" which
points to a C bind bug.

i've just recently looked at this PR but haven't had much time to look into it. oddly, i found that the initialization of the field is ok if you declare a variable of type fgsl_matrix; it only appears to ICE if you declare the return type of a function to fgsl_matrix and try initializing it (as is done in the given test case).


thanks.
Chris


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]