public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/23912] MOD function requires same kind arguments
Date: Sun, 27 Nov 2005 14:01:00 -0000	[thread overview]
Message-ID: <20051127140142.6640.qmail@sourceware.org> (raw)
In-Reply-To: <bug-23912-10259@http.gcc.gnu.org/bugzilla/>



------- Comment #3 from fxcoudert at gcc dot gnu dot org  2005-11-27 14:01 -------
Subject: Bug 23912

Author: fxcoudert
Date: Sun Nov 27 14:01:36 2005
New Revision: 107566

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107566
Log:
        PR fortran/23912

        * iresolve.c (gfc_resolve_dim, gfc_resolve_mod,
        gfc_resolve_modulo): When arguments have different kinds, fold
        the lower one to the largest kind.
        * check.c (gfc_check_a_p): Arguments of different kinds is not
        a hard error, but an extension.
        * simplify.c (gfc_simplify_dim, gfc_simplify_mod,
        gfc_simplify_modulo): When arguments have different kinds, fold
        the lower one to the largest kind.

        * gfortran.dg/modulo_1.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/modulo_1.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/check.c
    trunk/gcc/fortran/iresolve.c
    trunk/gcc/fortran/simplify.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


  parent reply	other threads:[~2005-11-27 14:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-23912-10259@http.gcc.gnu.org/bugzilla/>
2005-11-23 22:51 ` fxcoudert at gcc dot gnu dot org
2005-11-27 14:01 ` fxcoudert at gcc dot gnu dot org [this message]
2005-12-02 15:50 ` fxcoudert at gcc dot gnu dot org
2005-12-02 15:55 ` fxcoudert at gcc dot gnu dot org
2005-09-16  8:57 [Bug fortran/23912] New: " fxcoudert at gcc dot gnu dot org
2005-09-17  2:05 ` [Bug fortran/23912] " 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=20051127140142.6640.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).