re PR fortran/47023 (C_Sizeof: Rejects valid code)
commitbee64a2b9e0c63a3e731bba71c5e3c709204d288
authorJanus Weil <janus@gcc.gnu.org>
Sun, 16 Oct 2011 19:42:48 +0000 (16 21:42 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Sun, 16 Oct 2011 19:42:48 +0000 (16 21:42 +0200)
treeaf54f584dbc3a6bc65e424d54432ab4723617cd1
parentfe445bf7bea544ca11c512d990ca1cb1c6f71c69
re PR fortran/47023 (C_Sizeof: Rejects valid code)

2011-10-16  Janus Weil  <janus@gcc.gnu.org>

PR fortran/47023
* primary.c (match_kind_param): Detect ISO_C_BINDING kinds.
(get_kind): Pass on 'is_iso_c' flag.
(match_integer_constant,match_real_constant,match_logical_constant):
Set 'ts.is_c_interop'.

2011-10-16  Janus Weil  <janus@gcc.gnu.org>

PR fortran/47023
* gfortran.dg/c_kind_tests_3.f03: New.

From-SVN: r180062
gcc/fortran/ChangeLog
gcc/fortran/primary.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/c_kind_tests_3.f03 [new file with mode: 0644]