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/100274] [9/10/11/12 Regression] ICE in gfc_conv_procedure_call, at fortran/trans-expr.c:6131 Date: Wed, 05 May 2021 13:26:22 +0000 [thread overview] Message-ID: <bug-100274-4-LvxVnI1yrM@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-100274-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100274 --- 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:a8b79cc939d6786293f654c42a2d1b0ab040de0e commit r12-515-ga8b79cc939d6786293f654c42a2d1b0ab040de0e Author: Harald Anlauf <anlauf@gmx.de> Date: Wed May 5 15:25:50 2021 +0200 PR fortran/100274 - ICE in gfc_conv_procedure_call, at fortran/trans-expr.c:6131 When the check for the length of formal and actual character arguments found a mismatch and emitted a warning, it would skip further checks like that could lead to errors. Fix that by continuing the checking. Also catch a NULL pointer dereference. gcc/fortran/ChangeLog: PR fortran/100274 * interface.c (gfc_compare_actual_formal): Continue checks after emitting warning for argument length mismatch. * trans-expr.c (gfc_conv_procedure_call): Check for NULL pointer dereference. gcc/testsuite/ChangeLog: PR fortran/100274 * gfortran.dg/argument_checking_25.f90: New test.
next prev parent reply other threads:[~2021-05-05 13:26 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-04-26 19:48 [Bug fortran/100274] New: " gscfq@t-online.de 2021-04-26 21:00 ` [Bug fortran/100274] " anlauf at gcc dot gnu.org 2021-04-27 20:39 ` anlauf at gcc dot gnu.org 2021-04-27 20:57 ` anlauf at gcc dot gnu.org 2021-05-05 13:26 ` cvs-commit at gcc dot gnu.org [this message] 2021-05-05 19:00 ` cvs-commit at gcc dot gnu.org 2021-05-05 19:40 ` cvs-commit at gcc dot gnu.org 2021-05-05 19:55 ` cvs-commit at gcc dot gnu.org 2021-05-05 19:59 ` 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-100274-4-LvxVnI1yrM@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).