This is the mail archive of the gcc-bugs@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]

[Bug fortran/40963] ICE segfault - c_loc with derived type component as argument


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

--- Comment #6 from Lars Pastewka <pastewka at gmail dot com> 2012-01-31 13:24:27 UTC ---
A simple workaround for this bug seems to be:

 cptr = c_loc(obj1%array(1,1))

in the above example. It compiles and appears to be doing what it should.

Maybe that also helps narrowing it down.


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