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/106945] [10/11/12/13 Regression] ICE: 'verify_gimple' failed Date: Wed, 15 Mar 2023 20:46:23 +0000 [thread overview] Message-ID: <bug-106945-4-wk5iKNpLXC@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-106945-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106945 --- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-12 branch has been updated by Harald Anlauf <anlauf@gcc.gnu.org>: https://gcc.gnu.org/g:82ca86233da61e868a91b6132191148230d56ab0 commit r12-9266-g82ca86233da61e868a91b6132191148230d56ab0 Author: Harald Anlauf <anlauf@gmx.de> Date: Sat Mar 11 15:37:37 2023 +0100 Fortran: fix bounds check for copying of class expressions [PR106945] In the bounds check for copying of class expressions, the number of elements determined from a descriptor, returned as type gfc_array_index_type (i.e. a signed type), should be converted to the type of the passed element count, which is of type size_type_node (i.e. unsigned), for use in comparisons. gcc/fortran/ChangeLog: PR fortran/106945 * trans-expr.cc (gfc_copy_class_to_class): Convert element counts in bounds check to common type for comparison. gcc/testsuite/ChangeLog: PR fortran/106945 * gfortran.dg/pr106945.f90: New test. (cherry picked from commit 2cf5f485e0351bb1faf46196a99e524688f3966e)
next prev parent reply other threads:[~2023-03-15 20:46 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-09-14 18:52 [Bug fortran/106945] New: " gscfq@t-online.de 2022-09-14 18:52 ` [Bug fortran/106945] " gscfq@t-online.de 2022-09-14 19:58 ` marxin at gcc dot gnu.org 2022-09-15 7:18 ` rguenth at gcc dot gnu.org 2022-09-23 19:56 ` anlauf at gcc dot gnu.org 2023-03-10 21:21 ` anlauf at gcc dot gnu.org 2023-03-11 14:35 ` anlauf at gcc dot gnu.org 2023-03-11 14:52 ` cvs-commit at gcc dot gnu.org 2023-03-15 20:46 ` cvs-commit at gcc dot gnu.org [this message] 2023-03-17 20:40 ` cvs-commit at gcc dot gnu.org 2023-03-17 20:41 ` cvs-commit at gcc dot gnu.org 2023-03-17 20:42 ` 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-106945-4-wk5iKNpLXC@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).