2019-09-14 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/91557 PR fortran/91556 * frontend-passes.c (check_externals_procedure): Reformat argument list. Use gfc_compare_actual_formal instead of gfc_procedure_use. * gfortran.h (gfc_symbol): Add flag error. * interface.c (gfc_compare_interfaces): Reformat. (argument_rank_mismatch): Add where_formal argument. If it is present, note that the error is between different calls. (compare_parameter): Change warnings that previously dependended on -Wargument-mismatch to unconditional. Issue an error / warning on type mismatch only once. Pass where_formal to argument_rank_mismatch for artificial variables. (compare_actual_formal): Change warnings that previously dependeded on -Wargument-mismatch to unconditional. (gfc_check_typebound_override): Likewise. (gfc_get_formal_from_actual_arglist): Set declared_at for artificial symbol. * invoke.texi: Extend description of -fallow-argument-mismatch. Delete -Wargument-mismatch. * lang.opt: Change -Wargument-mismatch to do-nothing option. * resolve.c (resolve_structure_cons): Change warnings that previously depended on -Wargument-mismatch to unconditional. * trans-decl.c (generate_local_decl): Do not warn if the symbol is artificial. 2019-09-14 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/91557 PR fortran/91556 * gfortran.dg/argument_checking_20.f90: New test. * gfortran.dg/argument_checking_21.f90: New test. * gfortran.dg/argument_checking_22.f90: New test. * gfortran.dg/argument_checking_23.f90: New test. * gfortran.dg/warn_unused_dummy_argument_5.f90: New test. * gfortran.dg/bessel_3.f90: Add pattern for type mismatch. * gfortran.dg/g77/20010519-1.f: Adjust dg-warning messages to new handling. * gfortran.dg/pr24823.f: Likewise. * gfortran.dg/pr39937.f: Likewise. From-SVN: r275719
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... | |
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... |