Commit 8026a5ae by Nicolas Koenig

re PR fortran/39239 (Reject SAVEd variables EQUIVALENCEd to a COMMON)


2017-03-12 Nicolas Koenig <koenigni@student.ethz.ch>

	PR fortran/39239
	* symbol.c (check_conflict): report an error if an EQUIVALENCE variable is BIND(C).

2017-03-12 Nicolas Koenig <koenigni@student.ethz.ch>

	PR fortran/39239
	* gfortran.dg/equiv_constraint_bind_c.f90: New test.

From-SVN: r246284
parent 801f04e0
...@@ -544,6 +544,7 @@ check_conflict (symbol_attribute *attr, const char *name, locus *where) ...@@ -544,6 +544,7 @@ check_conflict (symbol_attribute *attr, const char *name, locus *where)
conf (in_equivalence, oacc_declare_copyin); conf (in_equivalence, oacc_declare_copyin);
conf (in_equivalence, oacc_declare_deviceptr); conf (in_equivalence, oacc_declare_deviceptr);
conf (in_equivalence, oacc_declare_device_resident); conf (in_equivalence, oacc_declare_device_resident);
conf (in_equivalence, is_bind_c);
conf (dummy, result); conf (dummy, result);
conf (entry, result); conf (entry, result);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment