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 target/103628] ICE: Segmentation fault (in gfc_conv_tree_to_mpfr) Date: Fri, 24 Mar 2023 02:48:26 +0000 [thread overview] Message-ID: <bug-103628-4-TSNN62euFj@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-103628-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103628 --- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by HaoChen Gui <guihaoc@gcc.gnu.org>: https://gcc.gnu.org/g:3b67db31236631432e7f6d74ed49af9ae2183a4d commit r13-6843-g3b67db31236631432e7f6d74ed49af9ae2183a4d Author: Haochen Gui <guihaoc@gcc.gnu.org> Date: Fri Mar 24 10:45:52 2023 +0800 Fortran: Escalate failure when Hollerith constant to real conversion fails gcc/fortran/ PR target/103628 * target-memory.cc (gfc_interpret_float): Return FAIL when native_interpret_expr gets a NULL tree. * arith.cc (gfc_hollerith2real): Return NULL when gfc_interpret_float fails. * error.cc (gfc_buffered_p): Define. * gfortran.h (gfc_buffered_p): Declare. * intrinsic.cc: Add diagnostic.h to include list. (do_simplify): Save errorcount and check it at finish. Report a "Cannot simplify expression" error on a bad result if error count doesn't change and no other errors buffered. gcc/testsuite/ PR target/103628 * gfortran.dg/assumed_size_refs_2.f90: Check "Cannot simplify expression" error. * gfortran.dg/unpack_field_1.f90: Likewise. * gfortran.dg/pr103628.f90: New. Co-Authored-By: Tobias Burnus <tobias@codesourcery.com>
next prev parent reply other threads:[~2023-03-24 2:48 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-12-09 11:16 [Bug target/103628] New: " asolokha at gmx dot com 2022-02-16 22:38 ` [Bug target/103628] " seurer at gcc dot gnu.org 2022-02-17 6:39 ` asolokha at gmx dot com 2022-02-17 13:46 ` seurer at gcc dot gnu.org 2022-02-18 4:26 ` asolokha at gmx dot com 2023-02-22 9:00 ` guihaoc at gcc dot gnu.org 2023-03-24 2:48 ` cvs-commit at gcc dot gnu.org [this message] 2023-03-24 14:53 ` segher 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-103628-4-TSNN62euFj@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: 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).