[fortran,patch] Forbid assignment of different character kinds

FX fxcoudert@gmail.com
Mon Sep 29 09:20:00 GMT 2014


It looks like the committee has reversed his opinion on this since the 2008 interp. There is wording in both F2003 and F2008 standards that supports this view, so I’ve closed the PR.

Now, here’s a tiny patch to silence the related warning in PR36534. I also remove the condition on gfc_current_form != FORM_FIXED, as diagnostics should be emitted based on language/pedantic options, not source form.

Regtested on x86_64-apple-darwin14, comes with a testcase. OK to commit?

FX



-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr36534.ChangeLog
Type: application/octet-stream
Size: 273 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140929/54778a1c/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr36534.diff
Type: application/octet-stream
Size: 1263 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140929/54778a1c/attachment-0001.obj>


More information about the Gcc-patches mailing list