------- Comment #5 from burnus at gcc dot gnu dot org 2008-12-15 20:35 ------- (In reply to comment #4) > > In any case: I tried ifort, g95, NAG f95, gfortran, and sunf95 > > - of these only "ifort" allows it > > as you said using C_LOC(X(1:1)) works fine and that is what I ended up doing. > BTW, ifort 11 and pgf90 7.2-1 also allow C_LOC(X).
OK. Then I close this PR as WONTFIX. > But, while using X(1:1) works fine in general, if I try to use it in a > derived type gfortan (all versions) it fails to compile with an internal > error, Filed as new PR 38536. Thanks a lot for finding and reporting this problem. -- burnus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36771