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/50392] SIGSEGV in gfc_trans_label_assign
Date: Wed, 27 May 2020 14:51:01 +0000	[thread overview]
Message-ID: <bug-50392-4-iz9EA72jkG@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-50392-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #18 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Mark Eggleston
<markeggleston@gcc.gnu.org>:

https://gcc.gnu.org/g:a7fd43c38f7469a3ef5ee30e889d60e1376d4dfc

commit r11-665-ga7fd43c38f7469a3ef5ee30e889d60e1376d4dfc
Author: Mark Eggleston <markeggleston@gcc.gnu.org>
Date:   Thu May 7 08:15:26 2020 +0100

    Fortran  : ICE in gfc_trans_label_assign PR50392

    A function may contain an assigned goto.  If the the return variable
    is an integer a statement can be assigned to it.  Prior to this fix
    this resulted in an ICE.

    2020-05-27  Tobias Burnus  <tobias@codesourcery.com>

    gcc/fortran/

            PR fortran/50392
            * trans-decl.c (gfc_get_symbol_decl): Remove unnecessary block
            delimiters.  Add auxiliary variables if a label is assigned to
            a return variable. (gfc_gat_fake_result): If the symbol has an
            assign attribute set declaration from the symbol's backend
            declaration.

    2020-05-27  Mark Eggleston  <markeggleston@gnu.gcc.org>

    gcc/testsuite/

            PR fortran/50392
            * gfortran.dg/pr50392.f: New test.

  parent reply	other threads:[~2020-05-27 14:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-14  8:33 [Bug fortran/50392] New: " zeccav at gmail dot com
2011-09-14  9:48 ` [Bug fortran/50392] " dominiq at lps dot ens.fr
2011-09-14 11:02 ` burnus at gcc dot gnu.org
2011-09-14 16:16 ` burnus at gcc dot gnu.org
2011-09-14 17:12 ` burnus at gcc dot gnu.org
2011-09-14 18:01 ` kargl at gcc dot gnu.org
2013-04-16  8:51 ` zeccav at gmail dot com
2013-08-24  8:02 ` zeccav at gmail dot com
2020-05-27 14:51 ` cvs-commit at gcc dot gnu.org [this message]
2020-05-28  7:38 ` cvs-commit at gcc dot gnu.org
2020-05-28  8:49 ` cvs-commit at gcc dot gnu.org
2020-05-28  9:49 ` cvs-commit at gcc dot gnu.org
2020-05-28  9:50 ` markeggleston at gcc dot gnu.org
2020-05-28 10:34 ` zeccav at gmail dot com

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-50392-4-iz9EA72jkG@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).