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

2012-01-31 Thread pastewka at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40963

--- Comment #6 from Lars Pastewka  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.


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

2012-01-14 Thread pastewka at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40963

Lars Pastewka  changed:

   What|Removed |Added

 CC||pastewka at gmail dot com

--- Comment #4 from Lars Pastewka  2012-01-14 
23:50:04 UTC ---
I encountered the same bug in gfortran 4.7.0 20110329 and 4.5.2.

Are there any updates on this bug?