public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pault at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/20893] unconditional use of optional argument not detected Date: Sun, 16 Jul 2006 17:18:00 -0000 [thread overview] Message-ID: <20060716171734.2814.qmail@sourceware.org> (raw) In-Reply-To: <bug-20893-6642@http.gcc.gnu.org/bugzilla/> ------- Comment #5 from pault at gcc dot gnu dot org 2006-07-16 17:17 ------- Subject: Bug 20893 Author: pault Date: Sun Jul 16 17:17:04 2006 New Revision: 115502 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115502 Log: 2006-07-16 Paul Thomas <pault@gcc.gnu.org> PR fortran/28384 * trans-common.c (translate_common): If common_segment is NULL emit error that common block does not exist. PR fortran/20844 * io.c (check_io_constraints): It is an error if an ADVANCE specifier appears without an explicit format. PR fortran/28201 * resolve.c (resolve_generic_s): For a use_associated function, do not search for an alternative symbol in the parent name space. PR fortran/20893 * resolve.c (resolve_elemental_actual): New function t combine all the checks of elemental procedure actual arguments. In addition, check of array valued optional args(this PR) has been added. (resolve_function, resolve_call): Remove parts that treated elemental procedure actual arguments and call the above. PR fortran/28353 * trans-expr.c (gfc_conv_aliased_arg): Missing formal arg means that intent is INOUT (fixes regression). PR fortran/25097 * check.c (check_present): The only permitted reference is a full array reference. PR fortran/20903 * decl.c (variable_decl): Add error if a derived type is not from the current namespace if the namespace is an interface body. 2006-07-16 Paul Thomas <pault@gcc.gnu.org> PR fortran/20844 * gfortran.dg/io_constaints_2.f90: Add the test for ADVANCE specifiers requiring an explicit format tag.. PR fortran/28201 * gfortran.dg/generic_5: New test. PR fortran/20893 * gfortran.dg/elemental_optional_args_1.f90: New test. PR fortran/25097 * gfortran.dg/present_1.f90: New test. PR fortran/20903 * gfortran.dg/interface_derived_type_1.f90: New test. Added: branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/elemental_optional_args_1.f90 branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/generic_5.f90 branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/interface_derived_type_1.f90 branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/present_1.f90 Modified: branches/gcc-4_1-branch/gcc/fortran/ChangeLog branches/gcc-4_1-branch/gcc/fortran/check.c branches/gcc-4_1-branch/gcc/fortran/decl.c branches/gcc-4_1-branch/gcc/fortran/io.c branches/gcc-4_1-branch/gcc/fortran/resolve.c branches/gcc-4_1-branch/gcc/fortran/trans-common.c branches/gcc-4_1-branch/gcc/fortran/trans-expr.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/io_constraints_2.f90 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20893
next prev parent reply other threads:[~2006-07-16 17:18 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-20893-6642@http.gcc.gnu.org/bugzilla/> 2006-07-11 14:35 ` patchapp at dberlin dot org 2006-07-11 14:42 ` pault at gcc dot gnu dot org 2006-07-16 15:02 ` pault at gcc dot gnu dot org 2006-07-16 17:18 ` pault at gcc dot gnu dot org [this message] 2006-07-16 17:20 ` pault at gcc dot gnu dot org 2005-04-08 16:04 [Bug fortran/20893] New: error needed jv244 at cam dot ac dot uk 2005-05-19 17:20 ` [Bug fortran/20893] unconditional use of optional argument not detected tobi at gcc dot gnu dot org 2005-09-30 20:50 ` pinskia at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20060716171734.2814.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).