public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dfranke at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/29962] Initialization expressions checking in gfc_intrinsic_func_interface Date: Sun, 22 Jul 2007 16:32:00 -0000 [thread overview] Message-ID: <20070722163129.2375.qmail@sourceware.org> (raw) In-Reply-To: <bug-29962-13404@http.gcc.gnu.org/bugzilla/> ------- Comment #8 from dfranke at gcc dot gnu dot org 2007-07-22 16:31 ------- Subject: Bug 29962 Author: dfranke Date: Sun Jul 22 16:31:11 2007 New Revision: 126826 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126826 Log: gcc/fortran: 2007-07-22 Daniel Franke <franke.daniel@gmail.com> PR fortran/29962 PR fortran/31253 PR fortran/31265 PR fortran/31639 * gfortran.h (gfc_intrinsic_sym): Changed members elemental, pure, generic, specific, actual_ok, noreturn into bits of a bitfield, added bits for inquiry, transformational, conversion. * check.c (non_init_transformational): Removed, removed all callers. * intrinsic.c (enum class): New. (add_sym*): Replaced argument elemetal by enum class. Changed all callers. (add_functions): Assign appropriate classes to intrinsic functions. (add_subroutines): Assign appropriate classes to intrinsic subroutines. (add_conv): Set conversion attribute. (gfc_init_expr_extensions): Removed, removed all callers. (gfc_intrinsic_func_interface): Reimplemented check for non-standard initializatione expressions. * expr.c (check_specification_function): New. (gfc_is_constant_expr): Added check for specification functions. (check_init_expr_arguments): New. (check_inquiry): Changed return value to MATCH, added checks for inquiry functions defined by F2003. (check_transformational): New. (check_null): New. (check_elemental): New. (check_conversion): New. (check_init_expr): Call new check functions, add more specific error messages. gcc/testsuite: 2007-07-22 Daniel Franke <franke.daniel@gmail.com> PR fortran/29962 * gfortran.dg/array_initializer_1.f90: Removed warning. * gfortran.dg/initialization_1.f90: Adjusted messages. * gfortran.dg/nested_modules_6.f90: Removed warning. PR fortran/31253 * gfortran.dg/initialization_7.f90: New test. PR fortran/31639 * gfortran.dg/initialization_8.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/initialization_7.f90 trunk/gcc/testsuite/gfortran.dg/initialization_8.f90 Modified: trunk/gcc/fortran/check.c trunk/gcc/fortran/expr.c trunk/gcc/fortran/gfortran.h trunk/gcc/fortran/intrinsic.c trunk/gcc/testsuite/gfortran.dg/array_initializer_1.f90 trunk/gcc/testsuite/gfortran.dg/initialization_1.f90 trunk/gcc/testsuite/gfortran.dg/nested_modules_6.f90 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29962
next prev parent reply other threads:[~2007-07-22 16:31 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-11-23 20:35 [Bug fortran/29962] New: " burnus at gcc dot gnu dot org 2006-11-23 21:10 ` [Bug fortran/29962] " burnus at gcc dot gnu dot org 2006-11-23 21:59 ` burnus at gcc dot gnu dot org 2006-11-23 23:52 ` burnus at gcc dot gnu dot org 2006-11-24 7:20 ` burnus at gcc dot gnu dot org 2006-11-27 10:15 ` patchapp at dberlin dot org 2006-12-04 20:03 ` burnus at gcc dot gnu dot org 2007-03-06 7:57 ` fxcoudert at gcc dot gnu dot org 2007-06-23 16:13 ` burnus at gcc dot gnu dot org 2007-07-22 16:32 ` dfranke at gcc dot gnu dot org [this message] 2007-07-24 13:32 ` burnus at gcc dot gnu dot org 2007-07-24 18:41 ` [Bug fortran/29962] Initialization expressions dfranke at gcc dot gnu dot org 2007-10-05 19:52 ` tobi at gcc dot gnu dot org 2009-03-23 19:57 ` dfranke at gcc dot gnu dot org 2009-03-23 20:04 ` dfranke at gcc dot gnu dot org 2009-03-31 20:02 ` dfranke at gcc dot gnu dot org 2009-04-05 20:40 ` dfranke at gcc dot gnu dot org 2009-04-10 14:04 ` dfranke at gcc dot gnu dot org 2009-06-07 11:53 ` burnus at gcc dot gnu dot org 2009-06-07 16:35 ` burnus at gcc dot gnu dot org 2009-06-07 17:34 ` burnus at gcc dot gnu dot org 2009-12-04 22:07 ` dfranke 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=20070722163129.2375.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).