re PR fortran/71935 (ICE is_c_interoperable(): gfc_simplify_expr failed)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Fri, 22 Jul 2016 18:53:11 +0000 (18:53 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Fri, 22 Jul 2016 18:53:11 +0000 (18:53 +0000)
commitd52d37673383f479aec07664bac5eec07f19d2da
tree2fbf38810c9a6a69612d2bd8a19bfad05a011ac6
parent2e6b45afba5f9606e6322e1a2b08b86971f38e92
re PR fortran/71935 (ICE is_c_interoperable(): gfc_simplify_expr failed)

2016-07-22  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/71935
* check.c (is_c_interoperable): Simplify right expression.

2016-07-22  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/71935
* gfortran.dg/c_sizeof_1.f90: Move invalid code to ...
* gfortran.dg/c_sizeof_6.f90: here.  Test for error.
* gfortran.dg/pr71935.f90: New test.

From-SVN: r238665
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/c_sizeof_1.f90
gcc/testsuite/gfortran.dg/c_sizeof_6.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr71935.f90 [new file with mode: 0644]