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/106856] [12/13 Regression][OOP] CLASS attribute handling / ICE in gfc_conv_expr_present, at fortran/trans-expr.cc:1977 since r12-4346-geb92cd57a1ebe7cd
Date: Sun, 05 Mar 2023 20:13:37 +0000	[thread overview]
Message-ID: <bug-106856-4-9AHC0rmyql@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-106856-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #8 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:6aa1f40a3263741d964ef4716e85a0df5cec83b6

commit r13-6497-g6aa1f40a3263741d964ef4716e85a0df5cec83b6
Author: Harald Anlauf <anlauf@gmx.de>
Date:   Thu Mar 2 22:37:14 2023 +0100

    Fortran: fix CLASS attribute handling [PR106856]

    gcc/fortran/ChangeLog:

            PR fortran/106856
            * class.cc (gfc_build_class_symbol): Handle update of attributes of
            existing class container.
            (gfc_find_derived_vtab): Fix several memory leaks.
            (find_intrinsic_vtab): Ditto.
            * decl.cc (attr_decl1): Manage update of symbol attributes from
            CLASS attributes.
            * primary.cc (gfc_variable_attr): OPTIONAL shall not be taken or
            updated from the class container.
            * symbol.cc (free_old_symbol): Adjust management of symbol versions
            to not prematurely free array specs while working on the declation
            of CLASS variables.

    gcc/testsuite/ChangeLog:

            PR fortran/106856
            * gfortran.dg/interface_41.f90: Remove dg-pattern from valid
testcase.
            * gfortran.dg/class_74.f90: New test.
            * gfortran.dg/class_75.f90: New test.

    Co-authored-by: Tobias Burnus  <tobias@codesourcery.com>

  parent reply	other threads:[~2023-03-05 20:13 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-06 17:12 [Bug fortran/106856] New: [12/13 Regression] ICE in gfc_conv_expr_present, at fortran/trans-expr.cc:1977 gscfq@t-online.de
2022-09-07  8:26 ` [Bug fortran/106856] " rguenth at gcc dot gnu.org
2022-09-07 12:02 ` [Bug fortran/106856] [12/13 Regression] ICE in gfc_conv_expr_present, at fortran/trans-expr.cc:1977 since r12-4346-geb92cd57a1ebe7cd marxin at gcc dot gnu.org
2022-09-08  8:52 ` burnus at gcc dot gnu.org
2022-12-06 22:23 ` [Bug fortran/106856] [12/13 Regression][OOP] CLASS attribute handling / " anlauf at gcc dot gnu.org
2023-03-01 21:36 ` anlauf at gcc dot gnu.org
2023-03-02 20:51 ` anlauf at gcc dot gnu.org
2023-03-02 22:04 ` anlauf at gcc dot gnu.org
2023-03-04 15:19 ` anlauf at gcc dot gnu.org
2023-03-05 20:13 ` cvs-commit at gcc dot gnu.org [this message]
2023-03-06 17:08 ` anlauf at gcc dot gnu.org
2023-03-06 17:11 ` anlauf at gcc dot gnu.org
2023-03-06 17:13 ` anlauf at gcc dot gnu.org
2023-03-06 17:15 ` anlauf at gcc dot gnu.org
2023-03-06 17:18 ` anlauf at gcc dot gnu.org
2023-03-06 17:50 ` anlauf at gcc dot gnu.org
2023-03-26 18:38 ` [Bug fortran/106856] [12 " anlauf at gcc dot gnu.org
2023-03-27 18:43 ` cvs-commit at gcc dot gnu.org
2023-03-27 18:47 ` anlauf at gcc dot gnu.org
2023-04-08 18:48 ` anlauf at gcc dot gnu.org
2023-11-25 19:06 ` 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-106856-4-9AHC0rmyql@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).