public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/87395] [9 Regression] ICE in in lookup_field_for_decl with whizard
       [not found] <bug-87395-4@http.gcc.gnu.org/bugzilla/>
@ 2022-09-25 12:48 ` cvs-commit at gcc dot gnu.org
  2022-09-25 12:48 ` cvs-commit at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-09-25 12:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Mikael Morin <mikael@gcc.gnu.org>:

https://gcc.gnu.org/g:51c9480f9f0a80ef112ba2aed040b0b2ad0fc2a2

commit r13-2837-g51c9480f9f0a80ef112ba2aed040b0b2ad0fc2a2
Author: Mikael Morin <mikael@gcc.gnu.org>
Date:   Mon Aug 29 13:27:02 2022 +0200

    fortran: Support clobbering of reference variables [PR41453]

    This adds support for clobbering of variables passed by reference,
    when the reference is forwarded to a subroutine as actual argument
    whose associated dummy has the INTENT(OUT) attribute.
    This was explicitly disabled by a condition added with
    r9-3032-gee7fb0588c6361b4d77337ab0f7527be64fcdde2 and removing that
    condition seems to work, as demonstrated by the new testcase.

            PR fortran/41453
            PR fortran/87395

    gcc/fortran/ChangeLog:

            * trans-expr.cc (gfc_conv_procedure_call): Remove condition
            disabling clobber generation for dummy variables.  Remove
            obsolete comment.

    gcc/testsuite/ChangeLog:

            * gfortran.dg/intent_optimize_6.f90: New test.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug fortran/87395] [9 Regression] ICE in in lookup_field_for_decl with whizard
       [not found] <bug-87395-4@http.gcc.gnu.org/bugzilla/>
  2022-09-25 12:48 ` [Bug fortran/87395] [9 Regression] ICE in in lookup_field_for_decl with whizard cvs-commit at gcc dot gnu.org
@ 2022-09-25 12:48 ` cvs-commit at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-09-25 12:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Mikael Morin <mikael@gcc.gnu.org>:

https://gcc.gnu.org/g:467ef2c40dbaf9d1219d9642e90df77dc61f4fae

commit r13-2838-g467ef2c40dbaf9d1219d9642e90df77dc61f4fae
Author: Mikael Morin <mikael@gcc.gnu.org>
Date:   Wed Aug 31 11:54:47 2022 +0200

    fortran: Support clobbering of SAVE variables [PR41453]

    This removes a condition added in:
    r9-3032-gee7fb0588c6361b4d77337ab0f7527be64fcdde2.

    That commit added a condition to avoid generating ICE with clobbers
    of variables with the SAVE attribute.
    The test added at that point continues to pass if we remove that
    condition now.

            PR fortran/41453
            PR fortran/87395

    gcc/fortran/ChangeLog:

            * trans-expr.cc (gfc_conv_procedure_call): Remove condition
            on SAVE attribute guarding clobber generation.

    gcc/testsuite/ChangeLog:

            * gfortran.dg/intent_optimize_7.f90: New test.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-25 12:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-87395-4@http.gcc.gnu.org/bugzilla/>
2022-09-25 12:48 ` [Bug fortran/87395] [9 Regression] ICE in in lookup_field_for_decl with whizard cvs-commit at gcc dot gnu.org
2022-09-25 12:48 ` cvs-commit at gcc dot gnu.org

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).