public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/107215] ICE in gfc_real2real and gfc_complex2complex
Date: Tue, 11 Oct 2022 21:08:05 +0000	[thread overview]
Message-ID: <bug-107215-4-8JRG7DX15j@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-107215-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107215

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Harald Anlauf <anlauf@gcc.gnu.org>:

https://gcc.gnu.org/g:53955284c031a17e6e49e730ef8947fe557ff35e

commit r13-3238-g53955284c031a17e6e49e730ef8947fe557ff35e
Author: Harald Anlauf <anlauf@gmx.de>
Date:   Tue Oct 11 20:37:42 2022 +0200

    Fortran: check types of source expressions before conversion [PR107215]

    gcc/fortran/ChangeLog:

            PR fortran/107215
            * arith.cc (gfc_int2int): Check validity of type of source expr.
            (gfc_int2real): Likewise.
            (gfc_int2complex): Likewise.
            (gfc_real2int): Likewise.
            (gfc_real2real): Likewise.
            (gfc_complex2int): Likewise.
            (gfc_complex2real): Likewise.
            (gfc_complex2complex): Likewise.
            (gfc_log2log): Likewise.
            (gfc_log2int): Likewise.
            (gfc_int2log): Likewise.

    gcc/testsuite/ChangeLog:

            PR fortran/107215
            * gfortran.dg/pr107215.f90: New test.

  parent reply	other threads:[~2022-10-11 21:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-11 16:54 [Bug fortran/107215] New: " gscfq@t-online.de
2022-10-11 17:36 ` [Bug fortran/107215] " anlauf at gcc dot gnu.org
2022-10-11 18:02 ` anlauf at gcc dot gnu.org
2022-10-11 18:48 ` anlauf at gcc dot gnu.org
2022-10-11 21:08 ` cvs-commit at gcc dot gnu.org [this message]
2022-10-11 21:10 ` anlauf at gcc dot gnu.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=bug-107215-4-8JRG7DX15j@http.gcc.gnu.org/bugzilla/ \
    --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).