public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "mikael at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/35681] wrong result for vector subscripted array expression in MVBITS
Date: Mon, 24 Nov 2008 12:16:00 -0000	[thread overview]
Message-ID: <20081124121530.22793.qmail@sourceware.org> (raw)
In-Reply-To: <bug-35681-15620@http.gcc.gnu.org/bugzilla/>



------- Comment #21 from mikael at gcc dot gnu dot org  2008-11-24 12:15 -------
Subject: Bug 35681

Author: mikael
Date: Mon Nov 24 12:13:59 2008
New Revision: 142154

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142154
Log:
2008-11-24  Mikael Morin <mikael.morin@tele2.fr>

        PR fortran/35681
        * dependency.c (gfc_check_argument_var_dependency): Add
        elemental check flag. Issue a warning if we find a dependency
        but don't generate a temporary. Add the case of an elemental
        function call as actual argument to an elemental procedure.
        Add the case of an operator expression as actual argument
        to an elemental procedure.
        (gfc_check_argument_dependency): Add elemental check flag.
        Update calls to gfc_check_argument_var_dependency.
        (gfc_check_fncall_dependency): Add elemental check flag.
        Update call to gfc_check_argument_dependency.
        * trans-stmt.c (gfc_trans_call): Make call to
        gfc_conv_elemental_dependency unconditional, but with a flag
        whether we should check dependencies between variables.
        (gfc_conv_elemental_dependency): Add elemental check flag.
        Update call to gfc_check_fncall_dependency.
        * trans-expr.c (gfc_trans_arrayfunc_assign): Update call to
        gfc_check_fncall_dependency.
        * resolve.c (find_noncopying_intrinsics): Update call to
        gfc_check_fncall_dependency.
        * dependency.h (enum gfc_dep_check): New enum.
        (gfc_check_fncall_dependency): Update prototype.

2008-11-24  Mikael Morin <mikael.morin@tele2.fr>

        PR fortran/35681
        * gfortran.dg/elemental_dependency_1.f90: New test.


Modified:
    branches/gcc-4_3-branch/gcc/fortran/ChangeLog
    branches/gcc-4_3-branch/gcc/fortran/dependency.c
    branches/gcc-4_3-branch/gcc/fortran/dependency.h
    branches/gcc-4_3-branch/gcc/fortran/resolve.c
    branches/gcc-4_3-branch/gcc/fortran/trans-expr.c
    branches/gcc-4_3-branch/gcc/fortran/trans-stmt.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35681


  parent reply	other threads:[~2008-11-24 12:16 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-24 19:40 [Bug fortran/35681] New: " dick dot hendrickson at gmail dot com
2008-03-24 22:13 ` [Bug fortran/35681] " burnus at gcc dot gnu dot org
2008-03-28 15:19 ` fxcoudert at gcc dot gnu dot org
2008-03-28 15:29 ` dominiq at lps dot ens dot fr
2008-03-28 15:49 ` dick dot hendrickson at gmail dot com
2008-03-28 16:22 ` dominiq at lps dot ens dot fr
2008-10-14 16:22 ` domob at gcc dot gnu dot org
2008-10-16 16:33 ` domob at gcc dot gnu dot org
2008-10-18  8:28 ` domob at gcc dot gnu dot org
2008-10-18  9:32 ` dominiq at lps dot ens dot fr
2008-10-18 10:22 ` burnus at gcc dot gnu dot org
2008-10-18 11:37 ` burnus at gcc dot gnu dot org
2008-10-18 17:03 ` dick dot hendrickson at gmail dot com
2008-10-19 14:35 ` pault at gcc dot gnu dot org
2008-10-19 14:48 ` domob at gcc dot gnu dot org
2008-10-19 16:17 ` domob at gcc dot gnu dot org
2008-11-01 13:29 ` domob at gcc dot gnu dot org
2008-11-01 13:38 ` domob at gcc dot gnu dot org
2008-11-13 17:18 ` domob at gcc dot gnu dot org
2008-11-14 13:03 ` mikael at gcc dot gnu dot org
2008-11-16 22:47 ` mikael at gcc dot gnu dot org
2008-11-23 19:09 ` burnus at gcc dot gnu dot org
2008-11-24 12:16 ` mikael at gcc dot gnu dot org [this message]
2008-11-24 12:27 ` mikael at gcc dot gnu dot org
2008-11-24 12:40 ` mikael at gcc dot gnu dot org
2008-11-24 12:49 ` mikael at gcc dot gnu dot org
2008-11-24 13:11 ` mikael at gcc dot gnu dot org
2008-11-24 19:16 ` pault at gcc dot gnu dot org
2009-01-04 19:12 ` mikael at gcc dot gnu dot org
2009-01-14 20:53 ` mikael at gcc dot gnu dot org
2009-01-29 17:35 ` hjl dot tools at gmail dot com

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=20081124121530.22793.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: link
Be 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).