If you are looking for more C interoperability-related bugs:
[ISO C Binding] Accepts character with len /= 1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32599
This is something which should be rejected for -std=f2003; it should be
easy using "gfc_notify_std (GFC_STD_F2003, ..." I think one can allow it
by default, but I don't mind always rejecting it.Note: using "call foo("abcdef"//C_CHAR_NULL)" works with
"character(len=0),dimension(*)" per F2003 standard, which is implemented
in gfortran. Thus prohibiting it completely would also be ok.
[ISO Bind C] Access to private components not prevented
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32601
I don't care whether one allows it for -std=gnu or not. Allowing it (for
-std=gnu) is ok as one can use it for "print *" debugging. However, if one
wants to allow it, one should some testing to make sure one does not get
ICEs. The PR contains also an example which triggers an internal compiler
error.