public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/95214] New: ICE on assumed-rank character array with select rank
@ 2020-05-19 15:11 jrfsousa at gmail dot com
  2020-05-20 10:08 ` [Bug fortran/95214] " marxin at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jrfsousa at gmail dot com @ 2020-05-19 15:11 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95214
           Summary: ICE on assumed-rank character array with select rank
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jrfsousa at gmail dot com
  Target Milestone: ---

Created attachment 48568
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48568&action=edit
Fortran code demonstrating problems.

Hi All!

ICE with 10 and 11 on assumed-rank character array with select rank block.

using:

GNU Fortran (GCC) 10.1.1 20200518
GNU Fortran (GCC) 11.0.0 20200518 (experimental)

This is very likely related to Bug 67938 and Bug 66833.

Thank you very much.

Best regards,
José Rui

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

* [Bug fortran/95214] ICE on assumed-rank character array with select rank
  2020-05-19 15:11 [Bug fortran/95214] New: ICE on assumed-rank character array with select rank jrfsousa at gmail dot com
@ 2020-05-20 10:08 ` marxin at gcc dot gnu.org
  2020-06-03 17:38 ` cvs-commit at gcc dot gnu.org
  2020-06-03 17:58 ` tkoenig at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-05-20 10:08 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org,
                   |                            |pault at gcc dot gnu.org
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2020-05-20
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r10-2912-g70570ec192745095, it was rejected before the revision.

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

* [Bug fortran/95214] ICE on assumed-rank character array with select rank
  2020-05-19 15:11 [Bug fortran/95214] New: ICE on assumed-rank character array with select rank jrfsousa at gmail dot com
  2020-05-20 10:08 ` [Bug fortran/95214] " marxin at gcc dot gnu.org
@ 2020-06-03 17:38 ` cvs-commit at gcc dot gnu.org
  2020-06-03 17:58 ` tkoenig at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-06-03 17:38 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Thomas Kथà¤nig <tkoenig@gcc.gnu.org>:

https://gcc.gnu.org/g:8d57c30611b05a89fd265f6c0a74fe829c21cd34

commit r11-879-g8d57c30611b05a89fd265f6c0a74fe829c21cd34
Author: José Rui Faustino de Sousa <jrfsousa@gmail.com>
Date:   Wed Jun 3 19:33:11 2020 +0200

    Simple patch only add assumed-rank to the list of possible attributes.

    gcc/fortran/ChangeLog:

    2020-06-03  José Rui Faustino de Sousa  <jrfsousa@gmail.com>

            PR fortran/95214
            PR fortran/66833
            PR fortran/67938
            * trans-expr.c (gfc_maybe_dereference_var): Add assumed-rank to
            character dummy arguments list of possible attributes.

    gcc/testsuite/ChangeLog:

    2020-06-03  José Rui Faustino de Sousa  <jrfsousa@gmail.com>

            PR fortran/95214
            PR fortran/66833
            PR fortran/67938
            * gfortran.dg/PR95214.f90: New test.

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

* [Bug fortran/95214] ICE on assumed-rank character array with select rank
  2020-05-19 15:11 [Bug fortran/95214] New: ICE on assumed-rank character array with select rank jrfsousa at gmail dot com
  2020-05-20 10:08 ` [Bug fortran/95214] " marxin at gcc dot gnu.org
  2020-06-03 17:38 ` cvs-commit at gcc dot gnu.org
@ 2020-06-03 17:58 ` tkoenig at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: tkoenig at gcc dot gnu.org @ 2020-06-03 17:58 UTC (permalink / raw)
  To: gcc-bugs

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

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
                 CC|                            |tkoenig at gcc dot gnu.org
             Status|NEW                         |RESOLVED

--- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Fixed on master, thank you for the bug report!

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

end of thread, other threads:[~2020-06-03 17:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-19 15:11 [Bug fortran/95214] New: ICE on assumed-rank character array with select rank jrfsousa at gmail dot com
2020-05-20 10:08 ` [Bug fortran/95214] " marxin at gcc dot gnu.org
2020-06-03 17:38 ` cvs-commit at gcc dot gnu.org
2020-06-03 17:58 ` tkoenig 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).