[Bug fortran/54667] [OOP] gimplification failure with c_f_pointer

2012-09-22 Thread abensonca at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54667 --- Comment #11 from Andrew Benson 2012-09-22 19:39:17 UTC --- (In reply to comment #10) > (In reply to comment #9) > > From Fortran 2008 15.2.3.6 and 15.2.3.3: > > > > CPTR shall be a scalar of type C PTR. It is an INTENT (IN) argument. Its >

[Bug fortran/54667] [OOP] gimplification failure with c_f_pointer

2012-09-22 Thread abensonca at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54667 --- Comment #8 from Andrew Benson 2012-09-22 17:02:06 UTC --- Thanks for clarifying this. It does look like this is invalid according to the standard. I'll think of another way to do what I was trying to do.

[Bug fortran/54667] [OOP] gimplification failure with c_f_pointer

2012-09-22 Thread abensonca at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54667 --- Comment #7 from Andrew Benson 2012-09-22 16:59:26 UTC --- (In reply to comment #3) > (In reply to comment #2) > > While it would be nontrivial to fully enforce these constraints by a runtime > > check, I think they might effectively m

<    1   2