2005-10-01 Paul Thomas <pault@gcc.gnu.org> PR fortran/16404 PR fortran/20835 PR fortran/20890 PR fortran/20899 PR fortran/20900 PR fortran/20901 PR fortran/20902 * gfortran.h: Prototype for gfc_add_in_equivalence. * match.c (gfc_match_equivalence): Make a structure component an explicit,rather than a syntax, error in an equivalence group. Call gfc_add_in_equivalence to add the constraints imposed in check_conflict. * resolve.c (resolve_symbol): Add constraints: No public structures with private-type components and no public procedures with private-type dummy arguments. (resolve_equivalence_derived): Add constraint that prevents a structure equivalence member from having a default initializer. (sequence_type): New static function to determine whether an object is default numeric, default character, non-default or mixed sequence. Add corresponding enum typespec. (resolve_equivalence): Add constraints to equivalence groups or their members: No more than one initialized member and that different types are not equivalenced for std=f95. All the simple constraints have been moved to check_conflict. * symbol.c (check_conflict): Simple equivalence constraints added, including those removed from resolve_symbol. (gfc_add_in_equivalence): New function to interface calls match_equivalence to check_conflict. 2005-10-01 Paul Thomas <pault@gcc.gnu.org> PR fortran/16404 PR fortran/20835 PR fortran/20890 PR fortran/20899 PR fortran/20900 PR fortran/20901 PR fortran/20902 gfortran.dg/equiv_constraint_1.f90: New test. gfortran.dg/equiv_constraint_2.f90: New test. gfortran.dg/equiv_constraint_3.f90: New test. gfortran.dg/equiv_constraint_4.f90: New test. gfortran.dg/equiv_constraint_5.f90: New test. gfortran.dg/equiv_constraint_6.f90: New test. gfortran.dg/equiv_constraint_7.f90: New test. gfortran.dg/equiv_constraint_8.f90: New test. gfortran.dg/private_type_1.f90: New test. gfortran.dg/private_type_2.f90: New test. gfortran.dg/g77/980628-2.f, 980628-3.f, 980628-9.f, 980628-10.f: Assert std=gnu to permit mixing of types in equivalence statements. From-SVN: r104850
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| 12002.f | Loading commit data... | |
| 12632.f | Loading commit data... | |
| 13037.f | Loading commit data... | |
| 13060.f | Loading commit data... | |
| 1832.f | Loading commit data... | |
| 19981119-0.f | Loading commit data... | |
| 19981216-0.f | Loading commit data... | |
| 19990218-0.f | Loading commit data... | |
| 19990218-1.f | Loading commit data... | |
| 19990305-0.f | Loading commit data... | |
| 19990313-0.f | Loading commit data... | |
| 19990313-1.f | Loading commit data... | |
| 19990313-2.f | Loading commit data... | |
| 19990313-3.f | Loading commit data... | |
| 19990419-0.f | Loading commit data... | |
| 19990419-1.f | Loading commit data... | |
| 19990502-0.f | Loading commit data... | |
| 19990502-1.f | Loading commit data... | |
| 19990525-0.f | Loading commit data... | |
| 19990826-0.f | Loading commit data... | |
| 19990826-1.f | Loading commit data... | |
| 19990826-2.f | Loading commit data... | |
| 19990826-3.f | Loading commit data... | |
| 19990905-0.f | Loading commit data... | |
| 19990905-1.f | Loading commit data... | |
| 19990905-2.f | Loading commit data... | |
| 20000412-1.f | Loading commit data... | |
| 20000503-1.f | Loading commit data... | |
| 20000511-1.f | Loading commit data... | |
| 20000511-2.f | Loading commit data... | |
| 20000518.f | Loading commit data... | |
| 20000601-1.f | Loading commit data... | |
| 20000601-2.f | Loading commit data... | |
| 20000629-1.f | Loading commit data... | |
| 20000630-2.f | Loading commit data... | |
| 20001111.f | Loading commit data... | |
| 20010115.f | Loading commit data... | |
| 20010116.f | Loading commit data... | |
| 20010216-1.f | Loading commit data... | |
| 20010321-1.f | Loading commit data... | |
| 20010426-1.f | Loading commit data... | |
| 20010426.f | Loading commit data... | |
| 20010430.f | Loading commit data... | |
| 20010519-1.f | Loading commit data... | |
| 20010610.f | Loading commit data... | |
| 20020307-1.f | Loading commit data... | |
| 20030115-1.f | Loading commit data... | |
| 20030326-1.f | Loading commit data... | |
| 6177.f | Loading commit data... | |
| 7388.f | Loading commit data... | |
| 8485.f | Loading commit data... | |
| 9263.f | Loading commit data... | |
| 947.f | Loading commit data... | |
| 960317-1.f | Loading commit data... | |
| 970125-0.f | Loading commit data... | |
| 970625-2.f | Loading commit data... | |
| 970816-3.f | Loading commit data... | |
| 970915-0.f | Loading commit data... | |
| 971102-1.f | Loading commit data... | |
| 980310-1.f | Loading commit data... | |
| 980310-2.f | Loading commit data... | |
| 980310-3.f | Loading commit data... | |
| 980310-4.f | Loading commit data... | |
| 980310-6.f | Loading commit data... | |
| 980310-7.f | Loading commit data... | |
| 980310-8.f | Loading commit data... | |
| 980419-2.f | Loading commit data... | |
| 980424-0.f | Loading commit data... | |
| 980427-0.f | Loading commit data... | |
| 980519-2.f | Loading commit data... | |
| 980520-1.f | Loading commit data... | |
| 980615-0.f | Loading commit data... | |
| 980616-0.f | Loading commit data... | |
| 980628-0.f | Loading commit data... | |
| 980628-1.f | Loading commit data... | |
| 980628-10.f | Loading commit data... | |
| 980628-2.f | Loading commit data... | |
| 980628-3.f | Loading commit data... | |
| 980628-7.f | Loading commit data... | |
| 980628-8.f | Loading commit data... | |
| 980628-9.f | Loading commit data... | |
| 980701-0.f | Loading commit data... | |
| 980701-1.f | Loading commit data... | |
| 980729-0.f | Loading commit data... | |
| 981117-1.f | Loading commit data... | |
| 990115-1.f | Loading commit data... | |
| README | Loading commit data... | |
| alpha1.f | Loading commit data... | |
| cabs.f | Loading commit data... | |
| check0.f | Loading commit data... | |
| claus.f | Loading commit data... | |
| complex_1.f | Loading commit data... | |
| cpp.F | Loading commit data... | |
| cpp2.F | Loading commit data... | |
| cpp3.F | Loading commit data... | |
| cpp4.F | Loading commit data... | |
| cpp5.F | Loading commit data... | |
| cpp5.h | Loading commit data... | |
| cpp5inc.h | Loading commit data... | |
| cpp6.f | Loading commit data... | |
| dcomplex.f | Loading commit data... | |
| dnrm2.f | Loading commit data... | |
| erfc.f | Loading commit data... | |
| f77-edit-apostrophe-out.f | Loading commit data... | |
| f77-edit-colon-out.f | Loading commit data... | |
| f77-edit-h-out.f | Loading commit data... | |
| f77-edit-i-in.f | Loading commit data... | |
| f77-edit-i-out.f | Loading commit data... | |
| f77-edit-s-out.f | Loading commit data... | |
| f77-edit-slash-out.f | Loading commit data... | |
| f77-edit-t-in.f | Loading commit data... | |
| f77-edit-t-out.f | Loading commit data... | |
| f77-edit-x-out.f | Loading commit data... | |
| f90-intrinsic-bit.f | Loading commit data... | |
| f90-intrinsic-mathematical.f | Loading commit data... | |
| f90-intrinsic-numeric.f | Loading commit data... | |
| ffixed-form-1.f | Loading commit data... | |
| ffixed-form-2.f | Loading commit data... | |
| ffixed-line-length-0.f | Loading commit data... | |
| ffixed-line-length-132.f | Loading commit data... | |
| ffixed-line-length-72.f | Loading commit data... | |
| ffixed-line-length-none.f | Loading commit data... | |
| ffree-form-1.f | Loading commit data... | |
| ffree-form-2.f | Loading commit data... | |
| ffree-form-3.f | Loading commit data... | |
| fno-underscoring.f | Loading commit data... | |
| funderscoring.f | Loading commit data... | |
| int8421.f | Loading commit data... | |
| intrinsic-unix-bessel.f | Loading commit data... | |
| intrinsic-unix-erf.f | Loading commit data... | |
| labug1.f | Loading commit data... | |
| large_vec.f | Loading commit data... | |
| le.f | Loading commit data... | |
| pr9258.f | Loading commit data... | |
| short.f | Loading commit data... | |
| strlen0.f | Loading commit data... | |
| toon_1.f | Loading commit data... | |
| xformat.f | Loading commit data... |