diff options
author | Janus Weil <janus@gcc.gnu.org> | 2009-05-14 11:41:41 +0200 |
---|---|---|
committer | Janus Weil <janus@gcc.gnu.org> | 2009-05-14 11:41:41 +0200 |
commit | 6de7294fd4a37431a5c9df578feca6fece431077 (patch) | |
tree | edbab0228a5042dccc8a06bfbb493111b0df876c /gcc/config/m32c/m32c-protos.h | |
parent | e1a029634255e159dc6817b24b6bcc6497fa400c (diff) | |
download | gcc-6de7294fd4a37431a5c9df578feca6fece431077.zip gcc-6de7294fd4a37431a5c9df578feca6fece431077.tar.gz gcc-6de7294fd4a37431a5c9df578feca6fece431077.tar.bz2 |
re PR fortran/39996 (Double typing of function results not detected)
2009-05-14 Janus Weil <janus@gcc.gnu.org>
PR fortran/39996
* decl.c (gfc_match_function_decl): Use gfc_add_type.
* symbol.c (gfc_add_type): Better checking for duplicate types in
function declarations. And: Always give an error for duplicte types,
not just a warning with -std=gnu.
2009-05-14 Janus Weil <janus@gcc.gnu.org>
PR fortran/39996
* gfortran.dg/func_decl_2.f90: Modified (replacing warnings by errors).
* gfortran.dg/duplicate_type_2.f90: Ditto.
* gfortran.dg/duplicate_type_3.f90: New.
From-SVN: r147528
Diffstat (limited to 'gcc/config/m32c/m32c-protos.h')
0 files changed, 0 insertions, 0 deletions